Linux kernel mirror (for testing) git.kernel.org/pub/scm/linux/kernel/git/torvalds/linux.git
kernel os linux

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

authored by

Jean-François Moine and committed by
Mauro Carvalho Chehab
a2d2b25c 6028c326

+1 -2
+1 -2
drivers/media/video/gspca/zc3xx.c
··· 6875 6875 reg_w(gspca_dev, 0x40, 0x0117); 6876 6876 break; 6877 6877 case SENSOR_HV7131R: 6878 - if (!sd->ctrls[AUTOGAIN].val) 6879 - setexposure(gspca_dev); 6878 + setexposure(gspca_dev); 6880 6879 reg_w(gspca_dev, 0x00, ZC3XX_R1A7_CALCGLOBALMEAN); 6881 6880 break; 6882 6881 case SENSOR_GC0305: