summaryrefslogtreecommitdiff
path: root/linux/drivers/media/video/tea5767.c
diff options
context:
space:
mode:
Diffstat (limited to 'linux/drivers/media/video/tea5767.c')
-rw-r--r--linux/drivers/media/video/tea5767.c7
1 files changed, 4 insertions, 3 deletions
diff --git a/linux/drivers/media/video/tea5767.c b/linux/drivers/media/video/tea5767.c
index 325f6f273..445a6360e 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.23 2005/07/26 10:37:41 mchehab Exp $
+ * $Id: tea5767.c,v 1.24 2005/07/27 02:44:37 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
@@ -319,6 +319,7 @@ int tea5767_autodetection(struct i2c_client *c)
return EINVAL;
}
+#if 0
/* Sets tuner at some freq (87.5 MHz) and see if it is ok */
div = ((87500 * 4000 + 700000 + 225000) + 16768) >> 15;
buffer[0] = ((div >> 8) & 0x3f) | TEA5767_MUTE;
@@ -331,7 +332,7 @@ int tea5767_autodetection(struct i2c_client *c)
if (5 != (rc = i2c_master_send(c, buffer, 5)))
tuner_warn("i2c i/o error: rc == %d (should be 5)\n", rc);
- msleep(10);
+ msleep(15);
if (5 != (rc = i2c_master_recv(c, buffer, 5))) {
tuner_warn("It is not a TEA5767. Received %i bytes.\n", rc);
@@ -345,7 +346,7 @@ int tea5767_autodetection(struct i2c_client *c)
tea5767_status_dump(buffer);
return EINVAL;
}
-
+#endif
tuner_warn("TEA5767 detected.\n");
return 0;
}