mirror of
https://github.com/AuxXxilium/linux_dsm_epyc7002.git
synced 2024-12-14 09:06:40 +07:00
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>
This commit is contained in:
parent
ff1cf40812
commit
219f3027a8
@ -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);
|
||||
|
Loading…
Reference in New Issue
Block a user