]> git.kernelconcepts.de Git - karo-tx-linux.git/commitdiff
V4L/DVB (13305): gspca - sonixj: The V flip control does not exist for all sensors.
authorJean-Francois Moine <moinejf@free.fr>
Mon, 2 Nov 2009 12:58:49 +0000 (09:58 -0300)
committerMauro Carvalho Chehab <mchehab@redhat.com>
Sat, 5 Dec 2009 20:41:18 +0000 (18:41 -0200)
Signed-off-by: Jean-Francois Moine <moinejf@free.fr>
Signed-off-by: Mauro Carvalho Chehab <mchehab@redhat.com>
drivers/media/video/gspca/sonixj.c

index bd076605c4bbbb4c24a25f9ecc8aeabe5a5d3a58..e75e7e36e7da2ee98fa16d39c1e6d456578bcab4 100644 (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)