projects
/
openwrt
/
staging
/
blogic.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
dc47b77
)
V4L/DVB (11679): cafe_ccic: fix sensor detection
author
Hans Verkuil
<hverkuil@xs4all.nl>
Sun, 3 May 2009 07:58:04 +0000
(
04:58
-0300)
committer
Mauro Carvalho Chehab
<mchehab@redhat.com>
Sat, 9 May 2009 21:54:27 +0000
(18:54 -0300)
Due to an uninitialized chip.ident field the chip identification failed.
Thanks-to: Saeed Bishara <saeed.bishara@gmail.com>
Signed-off-by: Hans Verkuil <hverkuil@xs4all.nl>
Signed-off-by: Mauro Carvalho Chehab <mchehab@redhat.com>
drivers/media/video/cafe_ccic.c
patch
|
blob
|
history
diff --git
a/drivers/media/video/cafe_ccic.c
b/drivers/media/video/cafe_ccic.c
index 5f582726985d8d39ea773c7ed14149f9d2733e39..e2d49cdb9d774f42a5d20c2864e0b3c7c6e2a32f 100644
(file)
--- a/
drivers/media/video/cafe_ccic.c
+++ b/
drivers/media/video/cafe_ccic.c
@@
-774,6
+774,7
@@
static int cafe_cam_init(struct cafe_camera *cam)
ret = __cafe_cam_reset(cam);
if (ret)
goto out;
+ chip.ident == V4L2_IDENT_NONE;
chip.match.type = V4L2_CHIP_MATCH_I2C_ADDR;
chip.match.addr = cam->sensor_addr;
ret = sensor_call(cam, core, g_chip_ident, &chip);