diff options
author | Hans de Goede <hdegoede@redhat.com> | 2010-06-01 11:39:14 +0200 |
---|---|---|
committer | Mauro Carvalho Chehab <mchehab@redhat.com> | 2010-08-02 19:06:07 +0200 |
commit | 456c9acb63fa5c3974c72309f831bd0e1f34b6d9 (patch) | |
tree | 56eb5e4ab353b1f59a6565e344b71ed63d54cbca /drivers | |
parent | V4L/DVB: gspca_tv8532: rename brightness control to exposure (diff) | |
download | linux-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.c | 2 |
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) | |