Commit 823902de authored by Hans de Goede's avatar Hans de Goede Committed by Mauro Carvalho Chehab

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: default avatarHans de Goede <hdegoede@redhat.com>
Signed-off-by: default avatarMauro Carvalho Chehab <mchehab@redhat.com>
parent a2e081b6
...@@ -815,7 +815,7 @@ static void setgain(struct gspca_dev *gspca_dev) ...@@ -815,7 +815,7 @@ static void setgain(struct gspca_dev *gspca_dev)
return; return;
if (sd->sensor_type) { if (sd->sensor_type) {
sensor_write1(gspca_dev, 3, sd->gain); sensor_write1(gspca_dev, 0x0e, sd->gain);
} else { } else {
sensor_write1(gspca_dev, 0x10, sd->gain); sensor_write1(gspca_dev, 0x10, sd->gain);
} }
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment