summaryrefslogtreecommitdiff
path: root/linux
diff options
context:
space:
mode:
authorMauro Carvalho Chehab <devnull@localhost>2005-07-04 17:06:39 +0000
committerMauro Carvalho Chehab <devnull@localhost>2005-07-04 17:06:39 +0000
commitcfbf086445b3ec8ce3c71ff4fd9ca26316e354cb (patch)
treee238620e015ace3ef3b2608a7030184bde43ec71 /linux
parenta71b3c7a0123e24856b0b3c4ae284b6f4f2c13dd (diff)
downloadmediapointer-dvb-s2-cfbf086445b3ec8ce3c71ff4fd9ca26316e354cb.tar.gz
mediapointer-dvb-s2-cfbf086445b3ec8ce3c71ff4fd9ca26316e354cb.tar.bz2
2005-07-04 17:02 mchehab
* saa7134-i2c.c: - specifying tuner type by parameter was not working. fixed. Signed-off-by: Mauro Carvalho Chehab <mchehab@brturbo.com.br>
Diffstat (limited to 'linux')
-rw-r--r--linux/drivers/media/video/saa7134/saa7134-i2c.c6
1 files changed, 3 insertions, 3 deletions
diff --git a/linux/drivers/media/video/saa7134/saa7134-i2c.c b/linux/drivers/media/video/saa7134/saa7134-i2c.c
index fae227bfe..4e2b17a8f 100644
--- a/linux/drivers/media/video/saa7134/saa7134-i2c.c
+++ b/linux/drivers/media/video/saa7134/saa7134-i2c.c
@@ -1,5 +1,5 @@
/*
- * $Id: saa7134-i2c.c,v 1.16 2005/07/03 13:41:38 mchehab Exp $
+ * $Id: saa7134-i2c.c,v 1.17 2005/07/04 17:06:39 mchehab Exp $
*
* device driver for philips saa7134 based TV cards
* i2c interface support
@@ -332,7 +332,7 @@ static u32 functionality(struct i2c_adapter *adap)
static int attach_inform(struct i2c_client *client)
{
struct saa7134_dev *dev = client->adapter->algo_data;
- /* int tuner = dev->tuner_type; */
+ int tuner = dev->tuner_type;
int conf = dev->tda9887_conf;
struct tuner_addr tun_addr;
@@ -353,7 +353,7 @@ static int attach_inform(struct i2c_client *client)
}
}
- tun_addr.type = saa7134_boards[dev->board].tuner_type;
+ tun_addr.type = tuner;
if (tun_addr.type != UNSET) {
tun_addr.addr = saa7134_boards[dev->board].tuner_addr;
if ((tun_addr.addr==ADDR_UNSET)||(tun_addr.addr==client->addr)) {