diff options
Diffstat (limited to 'linux/drivers/media/video/tea5767.c')
-rw-r--r-- | linux/drivers/media/video/tea5767.c | 11 |
1 files changed, 7 insertions, 4 deletions
diff --git a/linux/drivers/media/video/tea5767.c b/linux/drivers/media/video/tea5767.c index 7eee795c7..c3154c740 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.8 2005/06/19 15:59:25 mchehab Exp $ + * $Id: tea5767.c,v 1.9 2005/06/19 20:05:12 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 @@ -148,9 +148,12 @@ static void set_radio_freq(struct i2c_client *c, unsigned int frq) buffer[4]=0; - if (!t->audmode == V4L2_TUNER_MODE_MONO) - buffer[3] |= TEA5767_MONO; - + if (t->audmode == V4L2_TUNER_MODE_MONO) { + tuner_dbg("TEA5767 set to mono\n"); + buffer[2] |= TEA5767_MONO; + } else + tuner_dbg("TEA5767 set to stereo\n"); + switch (t->type) { case TEA5767_HIGH_LO_13MHz: tuner_dbg("TEA5767 radio HIGH LO inject xtal @ 13 MHz\n"); |