mirror of
https://git.kernel.org/pub/scm/linux/kernel/git/stable/linux.git
synced 2025-01-09 22:50:41 +00:00
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:
parent
d5b3d9ff36
commit
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;
|
||||
}
|
||||
|
Loading…
x
Reference in New Issue
Block a user