diff options
author | Jean-François Moine <moinejf@free.fr> | 2012-02-27 08:49:49 -0300 |
---|---|---|
committer | Mauro Carvalho Chehab <mchehab@redhat.com> | 2012-03-08 08:05:13 -0300 |
commit | a2d2b25ce623757a87b35ef336d2d2c3b0a6fa13 (patch) | |
tree | a7b7f3c75394d75510df6925fa334e2bd33d2822 /drivers/media/video/gspca | |
parent | 6028c3268404c1323da09b1dc5bbff56b79364a1 (diff) |
[media] gspca - zc3xx: Set the exposure at start of hv7131r
The exposure was not set when autogain was set.
Signed-off-by: Jean-François Moine <moinejf@free.fr>
Signed-off-by: Mauro Carvalho Chehab <mchehab@redhat.com>
Diffstat (limited to 'drivers/media/video/gspca')
-rw-r--r-- | drivers/media/video/gspca/zc3xx.c | 3 |
1 files changed, 1 insertions, 2 deletions
diff --git a/drivers/media/video/gspca/zc3xx.c b/drivers/media/video/gspca/zc3xx.c index 091000611528..c10bdb422271 100644 --- a/drivers/media/video/gspca/zc3xx.c +++ b/drivers/media/video/gspca/zc3xx.c @@ -6875,8 +6875,7 @@ static int sd_start(struct gspca_dev *gspca_dev) reg_w(gspca_dev, 0x40, 0x0117); break; case SENSOR_HV7131R: - if (!sd->ctrls[AUTOGAIN].val) - setexposure(gspca_dev); + setexposure(gspca_dev); reg_w(gspca_dev, 0x00, ZC3XX_R1A7_CALCGLOBALMEAN); break; case SENSOR_GC0305: |