summaryrefslogtreecommitdiff
path: root/linux/drivers/media/video/gspca
diff options
context:
space:
mode:
authorJean-Francois Moine <moinejf@free.fr>2009-08-02 11:56:47 +0200
committerJean-Francois Moine <moinejf@free.fr>2009-08-02 11:56:47 +0200
commit0315e4babbc90dd9a89e82968fd924cae514d993 (patch)
treeebdacba09310a026d4e8a2a0b8c9771d5e8ebc90 /linux/drivers/media/video/gspca
parent63f6769bcad76518a85506b5f19de1a48707d6fb (diff)
downloadmediapointer-dvb-s2-0315e4babbc90dd9a89e82968fd924cae514d993.tar.gz
mediapointer-dvb-s2-0315e4babbc90dd9a89e82968fd924cae514d993.tar.bz2
gspca - vc032x: Bad h/v flip controls when inverted by default.
From: Jean-Francois Moine <moinejf@free.fr> Priority: normal Signed-off-by: Jean-Francois Moine <moinejf@free.fr>
Diffstat (limited to 'linux/drivers/media/video/gspca')
-rw-r--r--linux/drivers/media/video/gspca/vc032x.c4
1 files changed, 2 insertions, 2 deletions
diff --git a/linux/drivers/media/video/gspca/vc032x.c b/linux/drivers/media/video/gspca/vc032x.c
index 44dea7949..6f9aab89c 100644
--- a/linux/drivers/media/video/gspca/vc032x.c
+++ b/linux/drivers/media/video/gspca/vc032x.c
@@ -3135,10 +3135,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: