mirror of
https://github.com/AuxXxilium/linux_dsm_epyc7002.git
synced 2024-12-22 16:00:20 +07:00
[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>
This commit is contained in:
parent
6028c32684
commit
a2d2b25ce6
@ -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:
|
||||
|
Loading…
Reference in New Issue
Block a user