[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)
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>

No differences found