projects
/
firefly-linux-kernel-4.4.55.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
ff1cf40
)
V4L/DVB (13892): gspca - vc032x: Add the H and V flip controls for sensor mi1320.
author
Jean-Francois Moine
<moinejf@free.fr>
Sat, 26 Dec 2009 18:21:57 +0000
(15:21 -0300)
committer
Mauro Carvalho Chehab
<mchehab@redhat.com>
Fri, 26 Feb 2010 18:10:28 +0000
(15:10 -0300)
Signed-off-by: Jean-Francois Moine <moinejf@free.fr>
Signed-off-by: Mauro Carvalho Chehab <mchehab@redhat.com>
drivers/media/video/gspca/vc032x.c
patch
|
blob
|
history
diff --git
a/drivers/media/video/gspca/vc032x.c
b/drivers/media/video/gspca/vc032x.c
index 5cace3fda80e4e9c1c5279b426d139c9e220d886..531e9be13d52f4af731ae843566f7a875d779556 100644
(file)
--- a/
drivers/media/video/gspca/vc032x.c
+++ b/
drivers/media/video/gspca/vc032x.c
@@
-2791,6
+2791,7
@@
static int sd_config(struct gspca_dev *gspca_dev,
gspca_dev->ctrl_dis = (1 << LIGHTFREQ_IDX);
switch (sd->sensor) {
case SENSOR_MI1310_SOC:
+ case SENSOR_MI1320:
case SENSOR_MI1320_SOC:
case SENSOR_OV7660:
case SENSOR_OV7670:
@@
-2834,6
+2835,7
@@
static void sethvflip(struct gspca_dev *gspca_dev)
vflip = !vflip;
switch (sd->sensor) {
case SENSOR_MI1310_SOC:
+ case SENSOR_MI1320:
case SENSOR_MI1320_SOC:
data[0] = data[1] = 0; /* select page 0 */
i2c_write(gspca_dev, 0xf0, data, 2);