aboutsummaryrefslogtreecommitdiff
path: root/drivers/media/video
diff options
context:
space:
mode:
authorJean-Francois Moine <moinejf@free.fr>2008-12-10 05:13:05 -0300
committerMauro Carvalho Chehab <mchehab@redhat.com>2008-12-30 09:39:00 -0200
commit8d3f6e3582b762a3b28f52c8093631caee94c03a (patch)
tree3ac8aaf30f309074b230e23a917e178d215aebbc /drivers/media/video
parent8852153548b31abb99c1c0772d03f92054f1f80d (diff)
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>
Diffstat (limited to 'drivers/media/video')
-rw-r--r--drivers/media/video/gspca/vc032x.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/drivers/media/video/gspca/vc032x.c b/drivers/media/video/gspca/vc032x.c
index b1ab37e1222..8f553bfbac0 100644
--- a/drivers/media/video/gspca/vc032x.c
+++ b/drivers/media/video/gspca/vc032x.c
@@ -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;
}