summaryrefslogtreecommitdiff
path: root/linux/drivers/media/video/gspca
diff options
context:
space:
mode:
authorJean-Francois Moine <moinejf@free.fr>2008-12-10 09:13:05 +0100
committerJean-Francois Moine <moinejf@free.fr>2008-12-10 09:13:05 +0100
commiteb8aba0ce02c6d663348dfc8c7caaa38af7a6549 (patch)
treeabcdb3a863c34edd13f5c916896b7db82db542aa /linux/drivers/media/video/gspca
parent08ec824664f6a447c209655719260db8b329576a (diff)
downloadmediapointer-dvb-s2-eb8aba0ce02c6d663348dfc8c7caaa38af7a6549.tar.gz
mediapointer-dvb-s2-eb8aba0ce02c6d663348dfc8c7caaa38af7a6549.tar.bz2
gspca - vc032x: Bad detection of sensor mi0360.
From: Jean-Francois Moine <moinejf@free.fr> Priority: normal Signed-off-by: Jean-Francois Moine <moinejf@free.fr>
Diffstat (limited to 'linux/drivers/media/video/gspca')
-rw-r--r--linux/drivers/media/video/gspca/vc032x.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/linux/drivers/media/video/gspca/vc032x.c b/linux/drivers/media/video/gspca/vc032x.c
index b898f6def..15dc660a5 100644
--- a/linux/drivers/media/video/gspca/vc032x.c
+++ b/linux/drivers/media/video/gspca/vc032x.c
@@ -1878,7 +1878,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;
}