diff options
Diffstat (limited to 'linux/drivers/media/video/tea5767.c')
-rw-r--r-- | linux/drivers/media/video/tea5767.c | 8 |
1 files changed, 6 insertions, 2 deletions
diff --git a/linux/drivers/media/video/tea5767.c b/linux/drivers/media/video/tea5767.c index 3539babce..153e4aa90 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.5 2005/06/08 01:28:09 mchehab Exp $ + * $Id: tea5767.c,v 1.6 2005/06/10 10:57:18 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 @@ -28,6 +28,8 @@ #include <media/tuner.h> #endif +#define PREFIX "TEA5767 " + /* Write mode register values */ /* First register */ @@ -146,6 +148,9 @@ static void set_radio_freq(struct i2c_client *c, unsigned int frq) unsigned div; int rc; + printk(PREFIX "radio freq counter %d\n",frq); + + /* Rounds freq to next decimal value */ frq = 20*(frq/16)+radio_frq[frq%16]; @@ -191,7 +196,6 @@ static void set_radio_freq(struct i2c_client *c, unsigned int frq) tuner_warn("i2c i/o error: rc == %d (should be 5)\n",rc); } -#define PREFIX "TEA5767 " static void tea5767_status_dump(unsigned char *buffer) { unsigned int div; |