From 823902defe89b1de8caab1ae82c8916feeb19b01 Mon Sep 17 00:00:00 2001 From: Hans de Goede Date: Mon, 17 Aug 2009 12:25:17 -0300 Subject: [PATCH] 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 Signed-off-by: Mauro Carvalho Chehab --- drivers/media/video/gspca/mr97310a.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/drivers/media/video/gspca/mr97310a.c b/drivers/media/video/gspca/mr97310a.c index 1ee3d1ee5a40..8190a1d4dc84 100644 --- a/drivers/media/video/gspca/mr97310a.c +++ b/drivers/media/video/gspca/mr97310a.c @@ -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); } -- 2.20.1