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:
5a5b964
)
V4L/DVB (10501): saa7146: prevent unnecessary loading of v4l2-common.
author
Hans Verkuil
<hverkuil@xs4all.nl>
Sat, 7 Feb 2009 23:15:22 +0000
(20:15 -0300)
committer
Mauro Carvalho Chehab
<mchehab@redhat.com>
Mon, 30 Mar 2009 15:42:42 +0000
(12:42 -0300)
Signed-off-by: Hans Verkuil <hverkuil@xs4all.nl>
Signed-off-by: Mauro Carvalho Chehab <mchehab@redhat.com>
drivers/media/common/saa7146_video.c
patch
|
blob
|
history
diff --git
a/drivers/media/common/saa7146_video.c
b/drivers/media/common/saa7146_video.c
index 1f837c1f7f740aba7692b177ad8b6c811f672036..8d8cb7ff34788a413e118e12514514c6cb0caa5b 100644
(file)
--- a/
drivers/media/common/saa7146_video.c
+++ b/
drivers/media/common/saa7146_video.c
@@
-1124,7
+1124,7
@@
static int vidioc_g_chip_ident(struct file *file, void *__fh,
chip->ident = V4L2_IDENT_NONE;
chip->revision = 0;
- if (
v4l2_chip_match_host(&chip->match)
) {
+ if (
chip->match.type == V4L2_CHIP_MATCH_HOST && !chip->match.addr
) {
chip->ident = V4L2_IDENT_SAA7146;
return 0;
}