]> pilppa.com Git - linux-2.6-omap-h63xx.git/commit
V4L/DVB (6551): tda8290: rule out tda988x before detecting tda8290/tda8295
authorMichael Krufky <mkrufky@linuxtv.org>
Sun, 4 Nov 2007 14:03:22 +0000 (11:03 -0300)
committerMauro Carvalho Chehab <mchehab@infradead.org>
Fri, 25 Jan 2008 21:01:58 +0000 (19:01 -0200)
commita818e1c8f7fcb42866a8630c508caddaa8edb331
tree40dc02cc463c25fca468b8e92fe98cf7b5cf9d80
parent1f3a4e328549cb85aa032c4ee5dfda7886754154
V4L/DVB (6551): tda8290: rule out tda988x before detecting tda8290/tda8295

To ensure prevention of detecting a tda9885/6/7 as a tda8290 or tda8295, we
will rule out the tda988x before testing the tda8290 / tda8295 id registers.

We read 8 bytes from the chip.  If they are all equal, then it is not a
tda829x, or some other error has occurred.

Signed-off-by: Michael Krufky <mkrufky@linuxtv.org>
Signed-off-by: Mauro Carvalho Chehab <mchehab@infradead.org>
drivers/media/video/tda8290.c