summaryrefslogtreecommitdiff
path: root/linux/drivers/media/video/tea5767.c
diff options
context:
space:
mode:
authorMauro Carvalho Chehab <devnull@localhost>2005-07-07 03:02:55 +0000
committerMauro Carvalho Chehab <devnull@localhost>2005-07-07 03:02:55 +0000
commitf0db2a1dfdf7ae31ae2af202371d7b7e74a6fa9e (patch)
tree05647774951d3a1e69e658705b517717c137c5f7 /linux/drivers/media/video/tea5767.c
parent57de10f8f05c1b3ec4d777d997981b67b08a2782 (diff)
downloadmediapointer-dvb-s2-f0db2a1dfdf7ae31ae2af202371d7b7e74a6fa9e.tar.gz
mediapointer-dvb-s2-f0db2a1dfdf7ae31ae2af202371d7b7e74a6fa9e.tar.bz2
* tuner-core.c,tea5767.c:
- T_STANDBY now is tuner.mode instead of tuner.mode_mask. This way, mode_mask is changed only when calling set_type. Signed-Off-By: Nickolay V. Shmyrev <nshmyrev@yandex.ru> 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 6d3f0a3f9..b53c748ca 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.17 2005/07/06 03:33:43 mchehab Exp $
+ * $Id: tea5767.c,v 1.18 2005/07/07 03:02:55 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_mask & T_STANDBY) {
+ if (t->mode == T_STANDBY) {
tuner_dbg("TEA5767 set to standby mode\n");
buffer[3] |= TEA5767_STDBY;
}