Skip to content

Commit

Permalink
V4L/DVB (13305): gspca - sonixj: The V flip control does not exist fo…
Browse files Browse the repository at this point in the history
…r all sensors.

Signed-off-by: Jean-Francois Moine <moinejf@free.fr>
Signed-off-by: Mauro Carvalho Chehab <mchehab@redhat.com>
  • Loading branch information
Jean-Francois Moine authored and Mauro Carvalho Chehab committed Dec 5, 2009
1 parent 98941e4 commit 0939e26
Showing 1 changed file with 2 additions and 0 deletions.
2 changes: 2 additions & 0 deletions drivers/media/video/gspca/sonixj.c
Original file line number Diff line number Diff line change
Expand Up @@ -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)
Expand Down

0 comments on commit 0939e26

Please sign in to comment.