summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorHans de Goede <hdegoede@redhat.com>2009-08-17 12:25:17 -0300
committerMauro Carvalho Chehab <mchehab@redhat.com>2009-09-12 12:19:59 -0300
commit823902defe89b1de8caab1ae82c8916feeb19b01 (patch)
tree7e9978cb39fdafd1f99ea2435fed87af077cf039
parenta2e081b64ed5ea344bdfe6115059c08f3d0b26f6 (diff)
downloadop-kernel-dev-823902defe89b1de8caab1ae82c8916feeb19b01.zip
op-kernel-dev-823902defe89b1de8caab1ae82c8916feeb19b01.tar.gz
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>
-rw-r--r--drivers/media/video/gspca/mr97310a.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/drivers/media/video/gspca/mr97310a.c b/drivers/media/video/gspca/mr97310a.c
index 1ee3d1e..8190a1d4 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);
}
OpenPOWER on IntegriCloud