summaryrefslogtreecommitdiff
path: root/linux/drivers/media/video/tea5767.c
diff options
context:
space:
mode:
authorMauro Carvalho Chehab <devnull@localhost>2005-07-06 03:33:43 +0000
committerMauro Carvalho Chehab <devnull@localhost>2005-07-06 03:33:43 +0000
commitb81bf9593367e4f1a82c106a55203d1fdc8c18a5 (patch)
treefe3eff5657599194ba0c69cd08276d0f3385f069 /linux/drivers/media/video/tea5767.c
parent43b3492a3bd673043b35ac2e8c703757f55fde10 (diff)
downloadmediapointer-dvb-s2-b81bf9593367e4f1a82c106a55203d1fdc8c18a5.tar.gz
mediapointer-dvb-s2-b81bf9593367e4f1a82c106a55203d1fdc8c18a5.tar.bz2
* tuner-core.c, tea5767.c:
- Corrected some bugs at radio, but radio still broken. Signed-off-by: Mauro Carvalho Chehab <mchehab@brturbo.com.br>
Diffstat (limited to 'linux/drivers/media/video/tea5767.c')
-rw-r--r--linux/drivers/media/video/tea5767.c4
1 files changed, 2 insertions, 2 deletions
diff --git a/linux/drivers/media/video/tea5767.c b/linux/drivers/media/video/tea5767.c
index f34dc46b0..6d3f0a3f9 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.16 2005/07/05 17:37:35 nsh Exp $
+ * $Id: tea5767.c,v 1.17 2005/07/06 03:33:43 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
@@ -206,7 +206,7 @@ static void set_radio_freq(struct i2c_client *c, unsigned int frq)
TEA5767_ST_NOISE_CTL | TEA5767_JAPAN_BAND;
buffer[4] = 0;
- if (t->mode == T_STANDBY) {
+ if (t->mode_mask & T_STANDBY) {
tuner_dbg("TEA5767 set to standby mode\n");
buffer[3] |= TEA5767_STDBY;
}