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:
Родитель
d5b3d9ff36
Коммит
548899c76e
|
@ -393,11 +393,6 @@ int tea5767_autodetection(struct i2c_adapter* i2c_adap, u8 i2c_addr)
|
|||
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;
|
||||
}
|
||||
|
|
Загрузка…
Ссылка в новой задаче