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

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

V4L/DVB (12078): gspca_ov519: Better default contrast for ov6630



Hmm, another one with an extra if (life sucks) the
default contrast really is no good for the ov6630, it
isn't even high enough in full daylight, this gives
the ov6630 a different initial value for a better out
of the box experience.

Signed-off-by: default avatarHans de Goede <hdegoede@redhat.com>
Signed-off-by: default avatarMauro Carvalho Chehab <mchehab@redhat.com>
parent 80142efa
Loading
Loading
Loading
Loading
+4 −1
Original line number Original line Diff line number Diff line
@@ -1740,6 +1740,9 @@ static int sd_config(struct gspca_dev *gspca_dev,
		break;
		break;
	}
	}
	sd->brightness = BRIGHTNESS_DEF;
	sd->brightness = BRIGHTNESS_DEF;
	if (sd->sensor == SEN_OV6630 || sd->sensor == SEN_OV66308AF)
		sd->contrast = 200; /* The default is too low for the ov6630 */
	else
		sd->contrast = CONTRAST_DEF;
		sd->contrast = CONTRAST_DEF;
	sd->colors = COLOR_DEF;
	sd->colors = COLOR_DEF;
	sd->hflip = HFLIP_DEF;
	sd->hflip = HFLIP_DEF;