V4L/DVB (7675): tea5767 autodetection is not working on some saa7134 boards

Signed-off-by: Beholder Intl. Ltd. Dmitry Belimov <d.belimov@gmail.com>
Signed-off-by: Mauro Carvalho Chehab <mchehab@infradead.org>
This commit is contained in:
Dmitry Belimov 2008-04-23 14:01:52 -03:00 committed by Mauro Carvalho Chehab
parent d5b3d9ff36
commit 548899c76e

View File

@ -393,11 +393,6 @@ int tea5767_autodetection(struct i2c_adapter* i2c_adap, u8 i2c_addr)
return EINVAL; return EINVAL;
} }
/* 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;
}
return 0; return 0;
} }