diff options
author | Jean-Francois Moine <moinejf@free.fr> | 2009-12-26 21:21:57 +0300 |
---|---|---|
committer | Mauro Carvalho Chehab <mchehab@redhat.com> | 2010-02-26 21:10:28 +0300 |
commit | 219f3027a8078148ddc2a75125afbb071a4d70c7 (patch) | |
tree | 613618dca66fe46c43cc7eae1ff57a3587ce4d62 /drivers/media/video/gspca/vc032x.c | |
parent | ff1cf4081244be0c84e90ab55a299c00d5a4d854 (diff) | |
download | linux-219f3027a8078148ddc2a75125afbb071a4d70c7.tar.xz |
V4L/DVB (13892): gspca - vc032x: Add the H and V flip controls for sensor mi1320.
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/vc032x.c')
-rw-r--r-- | drivers/media/video/gspca/vc032x.c | 2 |
1 files changed, 2 insertions, 0 deletions
diff --git a/drivers/media/video/gspca/vc032x.c b/drivers/media/video/gspca/vc032x.c index 5cace3fda80e..531e9be13d52 100644 --- 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); |