aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--drivers/media/video/gspca/vc032x.c4
1 files changed, 2 insertions, 2 deletions
diff --git a/drivers/media/video/gspca/vc032x.c b/drivers/media/video/gspca/vc032x.c
index c4ef7811bf6..cdd6c02ce81 100644
--- a/drivers/media/video/gspca/vc032x.c
+++ b/drivers/media/video/gspca/vc032x.c
@@ -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: