Commit 0939e266 authored by Jean-Francois Moine's avatar Jean-Francois Moine Committed by Mauro Carvalho Chehab
Browse files

V4L/DVB (13305): gspca - sonixj: The V flip control does not exist for all sensors.

parent 98941e4d
Loading
Loading
Loading
Loading
+2 −0
Original line number Diff line number Diff line
@@ -1549,6 +1549,8 @@ static void setvflip(struct sd *sd)
{
	u8 comn;

	if (sd->gspca_dev.ctrl_dis & (1 << VFLIP_IDX))
		return;
	if (sd->sensor == SENSOR_OV7630) {
		comn = 0x02;
		if (!sd->vflip)