diff options
Diffstat (limited to 'drivers/media/video/gspca/sonixj.c')
-rw-r--r-- | drivers/media/video/gspca/sonixj.c | 6 |
1 files changed, 5 insertions, 1 deletions
diff --git a/drivers/media/video/gspca/sonixj.c b/drivers/media/video/gspca/sonixj.c index 93b17340b7b..53cb82d9e7c 100644 --- a/drivers/media/video/gspca/sonixj.c +++ b/drivers/media/video/gspca/sonixj.c | |||
@@ -1350,6 +1350,9 @@ static int sd_start(struct gspca_dev *gspca_dev) | |||
1350 | setbrightness(gspca_dev); | 1350 | setbrightness(gspca_dev); |
1351 | setcontrast(gspca_dev); | 1351 | setcontrast(gspca_dev); |
1352 | break; | 1352 | break; |
1353 | case SENSOR_OV7630: | ||
1354 | setvflip(sd); | ||
1355 | /* fall thru */ | ||
1353 | default: /* OV76xx */ | 1356 | default: /* OV76xx */ |
1354 | setbrightcont(gspca_dev); | 1357 | setbrightcont(gspca_dev); |
1355 | break; | 1358 | break; |
@@ -1582,7 +1585,8 @@ static int sd_setvflip(struct gspca_dev *gspca_dev, __s32 val) | |||
1582 | struct sd *sd = (struct sd *) gspca_dev; | 1585 | struct sd *sd = (struct sd *) gspca_dev; |
1583 | 1586 | ||
1584 | sd->vflip = val; | 1587 | sd->vflip = val; |
1585 | setvflip(sd); | 1588 | if (gspca_dev->streaming) |
1589 | setvflip(sd); | ||
1586 | return 0; | 1590 | return 0; |
1587 | } | 1591 | } |
1588 | 1592 | ||