From 84f645bd8b3f5d0d6dbe0690609fab9394c9a247 Mon Sep 17 00:00:00 2001 From: Mauro Carvalho Chehab Date: Sun, 31 Jul 2005 12:10:56 +0000 Subject: Removed #if 1 from newer tea5767 code. Signed-off-by: Mauro Carvalho Chehab --- linux/drivers/media/video/tea5767.c | 5 ++--- 1 file changed, 2 insertions(+), 3 deletions(-) (limited to 'linux/drivers/media/video/tea5767.c') diff --git a/linux/drivers/media/video/tea5767.c b/linux/drivers/media/video/tea5767.c index eba4116ba..5331301e9 100644 --- a/linux/drivers/media/video/tea5767.c +++ b/linux/drivers/media/video/tea5767.c @@ -2,7 +2,7 @@ * For Philips TEA5767 FM Chip used on some TV Cards like Prolink Pixelview * I2C address is allways 0xC0. * - * $Id: tea5767.c,v 1.26 2005/07/27 12:00:36 mkrufky Exp $ + * $Id: tea5767.c,v 1.27 2005/07/31 12:10:56 mchehab Exp $ * * Copyright (c) 2005 Mauro Carvalho Chehab (mchehab@brturbo.com.br) * This code is placed under the terms of the GNU General Public License @@ -321,13 +321,12 @@ int tea5767_autodetection(struct i2c_client *c) tuner_warn("Chip ID is not zero. It is not a TEA5767\n"); return EINVAL; } -#if 1 /* On CX88, this works. Must be tested with other chipsets */ + /* It seems that tea5767 returns 0xff after the 5th byte */ if ((buffer[5] != 0xff) || (buffer[6] != 0xff)) { tuner_warn("Returned more than 5 bytes. It is not a TEA5767\n"); return EINVAL; } -#endif #if 0 /*Sometimes, this code doesn't work */ /* Sets tuner at some freq (87.5 MHz) and see if it is ok */ -- cgit v1.2.3