V4L/DVB (12624): gspca_mr97310a: Use correct register for CIF type 1 sensor gain...
authorHans de Goede <hdegoede@redhat.com>
Mon, 17 Aug 2009 15:25:17 +0000 (12:25 -0300)
committerMauro Carvalho Chehab <mchehab@redhat.com>
Sat, 12 Sep 2009 15:19:59 +0000 (12:19 -0300)
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>
drivers/media/video/gspca/mr97310a.c

index 1ee3d1e..8190a1d 100644 (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);
        }