diff options
author | hans@rhel5-devel.localdomain <hans@rhel5-devel.localdomain> | 2009-06-18 11:05:07 +0200 |
---|---|---|
committer | hans@rhel5-devel.localdomain <hans@rhel5-devel.localdomain> | 2009-06-18 11:05:07 +0200 |
commit | b64b09a54ba1e2dd7477e0a96c335efdd6e80a87 (patch) | |
tree | dfb11097091067470ee818a76f11ac613f137c58 /linux | |
parent | 0d075253d693d11e8836f40d3fe3641f8e8901b1 (diff) | |
download | mediapointer-dvb-s2-b64b09a54ba1e2dd7477e0a96c335efdd6e80a87.tar.gz mediapointer-dvb-s2-b64b09a54ba1e2dd7477e0a96c335efdd6e80a87.tar.bz2 |
gspca_sonixj: enable autogain control for the ov7620
From: Hans de Goede <hdegoede@redhat.com>
gspca_sonixj: enable autogain control for the ov7620, and not only
make it enable autogain but also auto exposure (and do the
same for the ov7648).
Priority: normal
Signed-off-by: Hans de Goede <hdegoede@redhat.com>
Diffstat (limited to 'linux')
-rw-r--r-- | linux/drivers/media/video/gspca/sonixj.c | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/linux/drivers/media/video/gspca/sonixj.c b/linux/drivers/media/video/gspca/sonixj.c index 621eee625..6233df970 100644 --- a/linux/drivers/media/video/gspca/sonixj.c +++ b/linux/drivers/media/video/gspca/sonixj.c @@ -255,7 +255,7 @@ static __u32 ctrl_dis[] = { /* SENSOR_MT9V111 3 */ (1 << INFRARED_IDX) | (1 << VFLIP_IDX), /* SENSOR_OM6802 4 */ - (1 << AUTOGAIN_IDX) | (1 << INFRARED_IDX), + (1 << INFRARED_IDX), /* SENSOR_OV7630 5 */ (1 << INFRARED_IDX), /* SENSOR_OV7648 6 */ @@ -1603,7 +1603,7 @@ static void setautogain(struct gspca_dev *gspca_dev) else comb = 0xa0; if (sd->autogain) - comb |= 0x02; + comb |= 0x03; i2c_w1(&sd->gspca_dev, 0x13, comb); return; } |