]> git.baikalelectronics.ru Git - kernel.git/commit
V4L/DVB (4885): Improve saa711x check
authorHans Verkuil <hverkuil@xs4all.nl>
Sat, 25 Nov 2006 12:40:28 +0000 (09:40 -0300)
committerMauro Carvalho Chehab <mchehab@infradead.org>
Sun, 26 Nov 2006 10:52:38 +0000 (08:52 -0200)
commita46cdf3c62a11a4a754f9afa894e8b9b5e8edc98
treefd3fce8d8f56af9612ae1d9e3d117b2c6af557e5
parentc3ede08aee7d7af4b7332c9b672b7fa1a2d5ff2e
V4L/DVB (4885): Improve saa711x check

The old code would accept any device on the same i2c address as the
saa711x chips as an saa711x. However, this fails with saa717x chips,
which use that same address and so are misdetected as a saa7111. Now
check whether the chip is really a saa711x model.

Signed-off-by: Hans Verkuil <hverkuil@xs4all.nl>
Signed-off-by: Mauro Carvalho Chehab <mchehab@infradead.org>
drivers/media/video/saa7115.c