]> git.baikalelectronics.ru Git - kernel.git/commit
[media] gspca - sonixj: Better handling of the bridge registers 0x01 and 0x17
authorJean-Francois Moine <moinejf@free.fr>
Tue, 14 Dec 2010 19:17:40 +0000 (16:17 -0300)
committerMauro Carvalho Chehab <mchehab@redhat.com>
Fri, 17 Dec 2010 20:49:11 +0000 (18:49 -0200)
commit83ed8fddb9d72a3b694d1c5693925dd081f70147
treecf28c6181a492882841f20adba7238e6f52684e6
parent10321d859c0a6351f81cfb85616c2bc1a685baad
[media] gspca - sonixj: Better handling of the bridge registers 0x01 and 0x17

The initial values of the registers 0x01 and 0x17 are taken from the sensor
table at capture start and updated according to the flag PDN_INV.

Their values are updated at each step of the capture initialization and
memorized for reuse in capture stop.

This patch also fixed automatically some bad hardcoded values of these
registers.

Signed-off-by: Jean-François Moine <moinejf@free.fr>
Signed-off-by: Mauro Carvalho Chehab <mchehab@redhat.com>
drivers/media/video/gspca/sonixj.c