Donate to e Foundation | Murena handsets with /e/OS | Own a part of Murena! Learn more

Commit 456c9acb authored by Hans de Goede's avatar Hans de Goede Committed by Mauro Carvalho Chehab
Browse files

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: default avatarHans de Goede <hdegoede@redhat.com>
Signed-off-by: default avatarMauro Carvalho Chehab <mchehab@redhat.com>
parent 74c519cb
Loading
Loading
Loading
Loading
+1 −1
Original line number Diff line number Diff line
@@ -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) |