mirror of
https://github.com/torvalds/linux.git
synced 2025-12-07 20:06:24 +00:00
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:
committed by
Mauro Carvalho Chehab
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)
|
||||
|
||||
Reference in New Issue
Block a user