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:
Jean-Francois Moine 2009-11-02 09:58:49 -03:00 committed by Mauro Carvalho Chehab
parent 98941e4dad
commit 0939e26669
1 changed files with 2 additions and 0 deletions

View File

@ -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)