From: Jean-Francois Moine Date: Wed, 10 Dec 2008 08:13:05 +0000 (-0300) Subject: V4L/DVB (9871): gspca - vc032x: Bad detection of sensor mi0360. X-Git-Tag: v2.6.29-rc1~556^2~203 X-Git-Url: https://openfabrics.org/gitweb/?a=commitdiff_plain;h=8d3f6e3582b762a3b28f52c8093631caee94c03a;p=~shefty%2Frdma-dev.git V4L/DVB (9871): gspca - vc032x: Bad detection of sensor mi0360. Signed-off-by: Jean-Francois Moine Signed-off-by: Mauro Carvalho Chehab --- 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; }