V4L/DVB: gspca_pac7302: much improved exposure control
authorHans de Goede <hdegoede@redhat.com>
Wed, 17 Feb 2010 14:59:19 +0000 (11:59 -0300)
committerMauro Carvalho Chehab <mchehab@redhat.com>
Fri, 26 Feb 2010 18:11:09 +0000 (15:11 -0300)
commit5fb2dde28122e74bbab9dae3cc04bcbc8c08b332
treeaaea47e29bf8a3783d5112c5000b3d4974f27e67
parent0e4b91c30605ae030d4ff63c5160e54c1bc2682c
V4L/DVB: gspca_pac7302: much improved exposure control

My experience with fixing up the controls for the PAS sensors in
sonixb, has lead me to re-investigate the exposure control for the
pac7302. I've now found a regular exposure register in register bank 3
(which seems to be the sensor registers bank), and with this added a proper
fine grained exposure control. This patch also updates the do_autogain
function to work properly with this new finer grained control.

Signed-off-by: Hans de Goede <hdegoede@redhat.com>
Signed-off-by: Mauro Carvalho Chehab <mchehab@redhat.com>
drivers/media/video/gspca/pac7302.c
drivers/media/video/gspca/pac_common.h