projects
/
openwrt
/
staging
/
blogic.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
a482f32
)
V4L/DVB (9118): gspca: Set the vertical flip at streamon time in sonixj.
author
Jean-Francois Moine
<moinejf@free.fr>
Sun, 5 Oct 2008 07:21:24 +0000
(
04:21
-0300)
committer
Mauro Carvalho Chehab
<mchehab@redhat.com>
Sun, 12 Oct 2008 11:37:15 +0000
(09:37 -0200)
Signed-off-by: Jean-Francois Moine <moinejf@free.fr>
Signed-off-by: Mauro Carvalho Chehab <mchehab@redhat.com>
drivers/media/video/gspca/sonixj.c
patch
|
blob
|
history
diff --git
a/drivers/media/video/gspca/sonixj.c
b/drivers/media/video/gspca/sonixj.c
index 93b17340b7b1f9997f810add6b04ce4748275105..53cb82d9e7c6a28909636595968ae335c9809698 100644
(file)
--- 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)
setbrightness(gspca_dev);
setcontrast(gspca_dev);
break;
+ case SENSOR_OV7630:
+ setvflip(sd);
+ /* fall thru */
default: /* OV76xx */
setbrightcont(gspca_dev);
break;
@@
-1582,7
+1585,8
@@
static int sd_setvflip(struct gspca_dev *gspca_dev, __s32 val)
struct sd *sd = (struct sd *) gspca_dev;
sd->vflip = val;
- setvflip(sd);
+ if (gspca_dev->streaming)
+ setvflip(sd);
return 0;
}