V4L/DVB (12383): gspca - vc032x: Bad h/v flip controls when inverted by default.
authorJean-Francois Moine <moinejf@free.fr>
Sun, 2 Aug 2009 09:56:47 +0000 (06:56 -0300)
committerMauro Carvalho Chehab <mchehab@redhat.com>
Sat, 12 Sep 2009 15:18:34 +0000 (12:18 -0300)
Signed-off-by: Jean-Francois Moine <moinejf@free.fr>
Signed-off-by: Mauro Carvalho Chehab <mchehab@redhat.com>
drivers/media/video/gspca/vc032x.c

index c4ef781..cdd6c02 100644 (file)
@@ -2672,10 +2672,10 @@ static void sethvflip(struct gspca_dev *gspca_dev)
 
        hflip = sd->hflip;
        if (sd->flags & FL_HFLIP)
-               hflip != hflip;
+               hflip = !hflip;
        vflip = sd->vflip;
        if (sd->flags & FL_VFLIP)
-               vflip != vflip;
+               vflip = !vflip;
        switch (sd->sensor) {
        case SENSOR_MI1310_SOC:
        case SENSOR_MI1320_SOC: