aboutsummaryrefslogtreecommitdiffstats
path: root/drivers/media
diff options
context:
space:
mode:
Diffstat (limited to 'drivers/media')
-rw-r--r--drivers/media/video/tea5767.c5
1 files changed, 0 insertions, 5 deletions
diff --git a/drivers/media/video/tea5767.c b/drivers/media/video/tea5767.c
index 833f2768958..f6e7d7ad842 100644
--- a/drivers/media/video/tea5767.c
+++ b/drivers/media/video/tea5767.c
@@ -393,11 +393,6 @@ int tea5767_autodetection(struct i2c_adapter* i2c_adap, u8 i2c_addr)
393 return EINVAL; 393 return EINVAL;
394 } 394 }
395 395
396 /* It seems that tea5767 returns 0xff after the 5th byte */
397 if ((buffer[5] != 0xff) || (buffer[6] != 0xff)) {
398 printk(KERN_WARNING "Returned more than 5 bytes. It is not a TEA5767\n");
399 return EINVAL;
400 }
401 396
402 return 0; 397 return 0;
403} 398}