2
0
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:
Hans de Goede 2009-08-17 12:25:17 -03:00 committed by Mauro Carvalho Chehab
parent a2e081b64e
commit 823902defe

View File

@ -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);
}