summaryrefslogtreecommitdiffstats
path: root/drivers
diff options
context:
space:
mode:
authorHans de Goede <hdegoede@redhat.com>2010-06-01 11:39:14 +0200
committerMauro Carvalho Chehab <mchehab@redhat.com>2010-08-02 19:06:07 +0200
commit456c9acb63fa5c3974c72309f831bd0e1f34b6d9 (patch)
tree56eb5e4ab353b1f59a6565e344b71ed63d54cbca /drivers
parentV4L/DVB: gspca_tv8532: rename brightness control to exposure (diff)
downloadlinux-456c9acb63fa5c3974c72309f831bd0e1f34b6d9.tar.xz
linux-456c9acb63fa5c3974c72309f831bd0e1f34b6d9.zip
V4L/DVB: gspca_ov519: Don't report a saturation control for 7670 sensors
setcolors(0 is a no-op for 7670 sensors, so we should not report a saturation control for 7670 sensors. Signed-off-by: Hans de Goede <hdegoede@redhat.com> Signed-off-by: Mauro Carvalho Chehab <mchehab@redhat.com>
Diffstat (limited to 'drivers')
-rw-r--r--drivers/media/video/gspca/ov519.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/drivers/media/video/gspca/ov519.c b/drivers/media/video/gspca/ov519.c
index aa3de2f5a272..6eeeee25523c 100644
--- a/drivers/media/video/gspca/ov519.c
+++ b/drivers/media/video/gspca/ov519.c
@@ -3148,7 +3148,7 @@ static int sd_config(struct gspca_dev *gspca_dev,
sd->autobrightness = AUTOBRIGHT_DEF;
if (sd->sensor == SEN_OV7670) {
sd->freq = OV7670_FREQ_DEF;
- gspca_dev->ctrl_dis = 1 << FREQ_IDX;
+ gspca_dev->ctrl_dis = (1 << FREQ_IDX) | (1 << COLOR_IDX);
} else {
sd->freq = FREQ_DEF;
gspca_dev->ctrl_dis = (1 << HFLIP_IDX) | (1 << VFLIP_IDX) |