projects
/
firefly-linux-kernel-4.4.55.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
8852153
)
V4L/DVB (9871): gspca - vc032x: Bad detection of sensor mi0360.
author
Jean-Francois Moine
<moinejf@free.fr>
Wed, 10 Dec 2008 08:13:05 +0000
(
05:13
-0300)
committer
Mauro Carvalho Chehab
<mchehab@redhat.com>
Tue, 30 Dec 2008 11:39:00 +0000
(09:39 -0200)
Signed-off-by: Jean-Francois Moine <moinejf@free.fr>
Signed-off-by: Mauro Carvalho Chehab <mchehab@redhat.com>
drivers/media/video/gspca/vc032x.c
patch
|
blob
|
history
diff --git
a/drivers/media/video/gspca/vc032x.c
b/drivers/media/video/gspca/vc032x.c
index b1ab37e12220bdd0d7480d057366202a3303081e..8f553bfbac0bd0fe8c4c673b4facadb6ccfe777a 100644
(file)
--- 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;
}