diff options
author | Jean-Francois Moine <moinejf@free.fr> | 2009-11-02 07:58:49 -0500 |
---|---|---|
committer | Mauro Carvalho Chehab <mchehab@redhat.com> | 2009-12-05 15:41:18 -0500 |
commit | 0939e266697d516ba09cfaec6a97887600a4162d (patch) | |
tree | cc0d35647f5f70abf2a6f079fb4ec8ed20cf55c0 /drivers/media/video/gspca/sonixj.c | |
parent | 98941e4dade35ab2e83c9bc796fdc76ed3636a75 (diff) |
V4L/DVB (13305): gspca - sonixj: The V flip control does not exist for all sensors.
Signed-off-by: Jean-Francois Moine <moinejf@free.fr>
Signed-off-by: Mauro Carvalho Chehab <mchehab@redhat.com>
Diffstat (limited to 'drivers/media/video/gspca/sonixj.c')
-rw-r--r-- | drivers/media/video/gspca/sonixj.c | 2 |
1 files changed, 2 insertions, 0 deletions
diff --git a/drivers/media/video/gspca/sonixj.c b/drivers/media/video/gspca/sonixj.c index bd076605c4bb..e75e7e36e7da 100644 --- a/drivers/media/video/gspca/sonixj.c +++ b/drivers/media/video/gspca/sonixj.c | |||
@@ -1549,6 +1549,8 @@ static void setvflip(struct sd *sd) | |||
1549 | { | 1549 | { |
1550 | u8 comn; | 1550 | u8 comn; |
1551 | 1551 | ||
1552 | if (sd->gspca_dev.ctrl_dis & (1 << VFLIP_IDX)) | ||
1553 | return; | ||
1552 | if (sd->sensor == SENSOR_OV7630) { | 1554 | if (sd->sensor == SENSOR_OV7630) { |
1553 | comn = 0x02; | 1555 | comn = 0x02; |
1554 | if (!sd->vflip) | 1556 | if (!sd->vflip) |