diff options
author | Stefan Ringel <stefan.ringel@arcor.de> | 2010-02-15 12:37:21 -0500 |
---|---|---|
committer | Mauro Carvalho Chehab <mchehab@redhat.com> | 2010-05-17 23:44:04 -0400 |
commit | 606d47dae40c2bbe2e3381c06c0195fdd58c8d68 (patch) | |
tree | 3662a8c9eb871aade7ee6716e02e671415797066 | |
parent | 38d75a7908198a309b56822f8f472208fbe47629 (diff) |
V4L/DVB: tm6000: special request for all tuner
Signed-off-by: Stefan Ringel <stefan.ringel@arcor.de>
Signed-off-by: Mauro Carvalho Chehab <mchehab@redhat.com>
-rw-r--r-- | drivers/staging/tm6000/tm6000-i2c.c | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/drivers/staging/tm6000/tm6000-i2c.c b/drivers/staging/tm6000/tm6000-i2c.c index 05df06badd83..656cd199d5e4 100644 --- a/drivers/staging/tm6000/tm6000-i2c.c +++ b/drivers/staging/tm6000/tm6000-i2c.c | |||
@@ -87,7 +87,7 @@ static int tm6000_i2c_xfer(struct i2c_adapter *i2c_adap, | |||
87 | msgs[i + 1].buf, msgs[i + 1].len); | 87 | msgs[i + 1].buf, msgs[i + 1].len); |
88 | i++; | 88 | i++; |
89 | 89 | ||
90 | if ((dev->dev_type == TM6010) && (addr == 0xc2)) { | 90 | if (addr == dev->tuner_addr) { |
91 | tm6000_set_reg(dev, 0x32, 0,0); | 91 | tm6000_set_reg(dev, 0x32, 0,0); |
92 | tm6000_set_reg(dev, 0x33, 0,0); | 92 | tm6000_set_reg(dev, 0x33, 0,0); |
93 | } | 93 | } |
@@ -105,7 +105,7 @@ static int tm6000_i2c_xfer(struct i2c_adapter *i2c_adap, | |||
105 | addr | msgs[i].buf[0] << 8, 0, | 105 | addr | msgs[i].buf[0] << 8, 0, |
106 | msgs[i].buf + 1, msgs[i].len - 1); | 106 | msgs[i].buf + 1, msgs[i].len - 1); |
107 | 107 | ||
108 | if ((dev->dev_type == TM6010) && (addr == 0xc2)) { | 108 | if (addr == dev->tuner_addr) { |
109 | tm6000_set_reg(dev, 0x32, 0,0); | 109 | tm6000_set_reg(dev, 0x32, 0,0); |
110 | tm6000_set_reg(dev, 0x33, 0,0); | 110 | tm6000_set_reg(dev, 0x33, 0,0); |
111 | } | 111 | } |