V4L/DVB (13305): gspca - sonixj: The V flip control does not exist for all sensors.
Signed-off-by: Jean-Francois Moine <moinejf@free.fr> Signed-off-by: Mauro Carvalho Chehab <mchehab@redhat.com>
This commit is contained in:
parent
98941e4dad
commit
0939e26669
@ -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)
|
||||
|
Loading…
Reference in New Issue
Block a user