mirror of
https://github.com/edk2-porting/linux-next.git
synced 2024-12-25 13:43:55 +08:00
V4L/DVB (12624): gspca_mr97310a: Use correct register for CIF type 1 sensor gain settings
gspca_mr97310a: Use correct register for CIF type 1 sensor gain settings Signed-off-by: Hans de Goede <hdegoede@redhat.com> Signed-off-by: Mauro Carvalho Chehab <mchehab@redhat.com>
This commit is contained in:
parent
a2e081b64e
commit
823902defe
@ -815,7 +815,7 @@ static void setgain(struct gspca_dev *gspca_dev)
|
||||
return;
|
||||
|
||||
if (sd->sensor_type) {
|
||||
sensor_write1(gspca_dev, 3, sd->gain);
|
||||
sensor_write1(gspca_dev, 0x0e, sd->gain);
|
||||
} else {
|
||||
sensor_write1(gspca_dev, 0x10, sd->gain);
|
||||
}
|
||||
|
Loading…
Reference in New Issue
Block a user