diff options
author | Hans Verkuil <hverkuil@xs4all.nl> | 2009-02-08 00:15:22 +0100 |
---|---|---|
committer | Hans Verkuil <hverkuil@xs4all.nl> | 2009-02-08 00:15:22 +0100 |
commit | 7c101a67fb72f74c1a2af5e2ab8e206a5fd9f5ff (patch) | |
tree | 04c41b5224a6ab492fb3fb4014561334a2378db1 /linux/drivers | |
parent | 7a1cf2bbfb14fef2c4debf9f474cd0ed65a7c65e (diff) | |
download | mediapointer-dvb-s2-7c101a67fb72f74c1a2af5e2ab8e206a5fd9f5ff.tar.gz mediapointer-dvb-s2-7c101a67fb72f74c1a2af5e2ab8e206a5fd9f5ff.tar.bz2 |
saa7146: prevent unnecessary loading of v4l2-common.
From: Hans Verkuil <hverkuil@xs4all.nl>
Priority: normal
Signed-off-by: Hans Verkuil <hverkuil@xs4all.nl>
Diffstat (limited to 'linux/drivers')
-rw-r--r-- | linux/drivers/media/common/saa7146_video.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/linux/drivers/media/common/saa7146_video.c b/linux/drivers/media/common/saa7146_video.c index 240757afb..b7d73b7fd 100644 --- a/linux/drivers/media/common/saa7146_video.c +++ b/linux/drivers/media/common/saa7146_video.c @@ -1125,7 +1125,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; } |