V4L/DVB (9871): gspca - vc032x: Bad detection of sensor mi0360.
Signed-off-by: Jean-Francois Moine <moinejf@free.fr> Signed-off-by: Mauro Carvalho Chehab <mchehab@redhat.com>
This commit is contained in:
parent
8852153548
commit
8d3f6e3582
|
@ -1866,7 +1866,7 @@ static int vc032x_probe_sensor(struct gspca_dev *gspca_dev)
|
|||
/* special case for MI0360 */
|
||||
if (ptsensor_info->sensorId == SENSOR_MI1310_SOC
|
||||
&& value == 0x8243)
|
||||
return ptsensor_info->sensorId;
|
||||
return SENSOR_MI0360;
|
||||
}
|
||||
return -1;
|
||||
}
|
||||
|
|
Loading…
Reference in New Issue