mirror of
https://github.com/AuxXxilium/linux_dsm_epyc7002.git
synced 2024-12-04 11:36:51 +07:00
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>
This commit is contained in:
parent
74c519cb6c
commit
456c9acb63
@ -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) |
|
||||
|
Loading…
Reference in New Issue
Block a user