V4L/DVB (7675): tea5767 autodetection is not working on some saa7134 boards
authorDmitry Belimov <d.belimov@gmail.com>
Wed, 23 Apr 2008 17:01:52 +0000 (14:01 -0300)
committerMauro Carvalho Chehab <mchehab@infradead.org>
Thu, 24 Apr 2008 17:09:45 +0000 (14:09 -0300)
Signed-off-by: Beholder Intl. Ltd. Dmitry Belimov <d.belimov@gmail.com>
Signed-off-by: Mauro Carvalho Chehab <mchehab@infradead.org>
drivers/media/video/tea5767.c

index 833f2768958d8b6d72534914f9fc3147ccf16d76..f6e7d7ad842416ad5ac9b82bde9532125a3ddd80 100644 (file)
@@ -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;
 }