aboutsummaryrefslogtreecommitdiffstats
path: root/drivers/media/video
diff options
context:
space:
mode:
authorHans de Goede <hdegoede@redhat.com>2009-08-17 11:25:17 -0400
committerMauro Carvalho Chehab <mchehab@redhat.com>2009-09-12 11:19:59 -0400
commit823902defe89b1de8caab1ae82c8916feeb19b01 (patch)
tree7e9978cb39fdafd1f99ea2435fed87af077cf039 /drivers/media/video
parenta2e081b64ed5ea344bdfe6115059c08f3d0b26f6 (diff)
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>
Diffstat (limited to 'drivers/media/video')
-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 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)
815 return; 815 return;
816 816
817 if (sd->sensor_type) { 817 if (sd->sensor_type) {
818 sensor_write1(gspca_dev, 3, sd->gain); 818 sensor_write1(gspca_dev, 0x0e, sd->gain);
819 } else { 819 } else {
820 sensor_write1(gspca_dev, 0x10, sd->gain); 820 sensor_write1(gspca_dev, 0x10, sd->gain);
821 } 821 }