summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorhans@rhel5-devel.localdomain <hans@rhel5-devel.localdomain>2009-08-17 17:25:17 +0200
committerhans@rhel5-devel.localdomain <hans@rhel5-devel.localdomain>2009-08-17 17:25:17 +0200
commitf56e5f83c8445db50b3cba3013170785c52ac486 (patch)
tree76378090d16f0cfac145b7ceec3a984f61cc3ee9
parent1043cd3f4a29434ea131163d1a1d4a21da04150b (diff)
downloadmediapointer-dvb-s2-f56e5f83c8445db50b3cba3013170785c52ac486.tar.gz
mediapointer-dvb-s2-f56e5f83c8445db50b3cba3013170785c52ac486.tar.bz2
gspca_mr97310a: Use correct register for CIF type 1 sensor gain settings
From: Hans de Goede <hdegoede@redhat.com> gspca_mr97310a: Use correct register for CIF type 1 sensor gain settings Priority: normal Signed-off-by: Hans de Goede <hdegoede@redhat.com>
-rw-r--r--linux/drivers/media/video/gspca/mr97310a.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/linux/drivers/media/video/gspca/mr97310a.c b/linux/drivers/media/video/gspca/mr97310a.c
index 1ee3d1ee5..8190a1d4d 100644
--- a/linux/drivers/media/video/gspca/mr97310a.c
+++ b/linux/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);
}