diff options
author | Jean-Francois Moine <moinejf@free.fr> | 2009-08-02 05:56:47 -0400 |
---|---|---|
committer | Mauro Carvalho Chehab <mchehab@redhat.com> | 2009-09-12 11:18:34 -0400 |
commit | bb2c818fae1dfdb6bea6e4f80b391656101bbd38 (patch) | |
tree | a68f0e8cdfb7e7c9f1bc6a0c938f7e4a581fa2f2 /drivers | |
parent | d40a1da2b4eb8f798175fdf98d92b83746a31a31 (diff) |
V4L/DVB (12383): gspca - vc032x: Bad h/v flip controls when inverted by default.
Signed-off-by: Jean-Francois Moine <moinejf@free.fr>
Signed-off-by: Mauro Carvalho Chehab <mchehab@redhat.com>
Diffstat (limited to 'drivers')
-rw-r--r-- | drivers/media/video/gspca/vc032x.c | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/drivers/media/video/gspca/vc032x.c b/drivers/media/video/gspca/vc032x.c index c4ef7811bf60..cdd6c02ce81d 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) | |||
2672 | 2672 | ||
2673 | hflip = sd->hflip; | 2673 | hflip = sd->hflip; |
2674 | if (sd->flags & FL_HFLIP) | 2674 | if (sd->flags & FL_HFLIP) |
2675 | hflip != hflip; | 2675 | hflip = !hflip; |
2676 | vflip = sd->vflip; | 2676 | vflip = sd->vflip; |
2677 | if (sd->flags & FL_VFLIP) | 2677 | if (sd->flags & FL_VFLIP) |
2678 | vflip != vflip; | 2678 | vflip = !vflip; |
2679 | switch (sd->sensor) { | 2679 | switch (sd->sensor) { |
2680 | case SENSOR_MI1310_SOC: | 2680 | case SENSOR_MI1310_SOC: |
2681 | case SENSOR_MI1320_SOC: | 2681 | case SENSOR_MI1320_SOC: |