summaryrefslogtreecommitdiff
path: root/linux/drivers/media/video
diff options
context:
space:
mode:
authorMauro Carvalho Chehab <mchehab@infradead.org>2008-04-23 11:01:52 -0300
committerMauro Carvalho Chehab <mchehab@infradead.org>2008-04-23 11:01:52 -0300
commit2d4a291359262ee673bfedbdce319fd84f967b44 (patch)
treebe2af1f5a37d49144bee1b66594272b34194ef42 /linux/drivers/media/video
parent4a49260890f5745ac39b7acc8f19a49f45fa971b (diff)
downloadmediapointer-dvb-s2-2d4a291359262ee673bfedbdce319fd84f967b44.tar.gz
mediapointer-dvb-s2-2d4a291359262ee673bfedbdce319fd84f967b44.tar.bz2
tea5767 autodetection is not working on some saa7134 boards
From: Dmitry Belimov <d.belimov@gmail.com> Signed-off-by: Beholder Intl. Ltd. Dmitry Belimov <d.belimov@gmail.com> Signed-off-by: Mauro Carvalho Chehab <mchehab@infradead.org>
Diffstat (limited to 'linux/drivers/media/video')
-rw-r--r--linux/drivers/media/video/tea5767.c2
1 files changed, 2 insertions, 0 deletions
diff --git a/linux/drivers/media/video/tea5767.c b/linux/drivers/media/video/tea5767.c
index c4f39a5d3..e5bfc72a4 100644
--- a/linux/drivers/media/video/tea5767.c
+++ b/linux/drivers/media/video/tea5767.c
@@ -400,11 +400,13 @@ int tea5767_autodetection(struct i2c_adapter* i2c_adap, u8 i2c_addr)
return EINVAL;
}
+#if 0 /* Not working for TEA5767 in Beholder Columbus card */
/* It seems that tea5767 returns 0xff after the 5th byte */
if ((buffer[5] != 0xff) || (buffer[6] != 0xff)) {
printk(KERN_WARNING "Returned more than 5 bytes. It is not a TEA5767\n");
return EINVAL;
}
+#endif
#if 0 /*Sometimes, this code doesn't work */
/* Sets tuner at some freq (87.5 MHz) and see if it is ok */