V4L/DVB: gspca - ov534: Fix and document setting manual exposure
authorAntonio Ospite <ospite@studenti.unina.it>
Mon, 1 Mar 2010 11:53:34 +0000 (08:53 -0300)
committerMauro Carvalho Chehab <mchehab@redhat.com>
Tue, 18 May 2010 03:46:56 +0000 (00:46 -0300)
commit18cf8c91ad558f8d2d0177656df493f81949cfe6
tree92f98683a2c911f1656e239ad20f89a8ab9d29be
parentf2938822523739e99a39fd634943865a432e9c00
V4L/DVB: gspca - ov534: Fix and document setting manual exposure

Document that even if the state is a u8 value, both MSB and LSB are set
as sd->exposure represents half of the value we are going to set into
registers.

Skip setting exposure when AEC is enabled.

Signed-off-by: Antonio Ospite <ospite@studenti.unina.it>
Signed-off-by: Jean-François Moine <moinejf@free.fr>
Signed-off-by: Mauro Carvalho Chehab <mchehab@redhat.com>
drivers/media/video/gspca/ov534.c