Commit 606d47da authored by Stefan Ringel's avatar Stefan Ringel Committed by Mauro Carvalho Chehab

V4L/DVB: tm6000: special request for all tuner

Signed-off-by: default avatarStefan Ringel <stefan.ringel@arcor.de>
Signed-off-by: default avatarMauro Carvalho Chehab <mchehab@redhat.com>
parent 38d75a79
...@@ -87,7 +87,7 @@ static int tm6000_i2c_xfer(struct i2c_adapter *i2c_adap, ...@@ -87,7 +87,7 @@ static int tm6000_i2c_xfer(struct i2c_adapter *i2c_adap,
msgs[i + 1].buf, msgs[i + 1].len); msgs[i + 1].buf, msgs[i + 1].len);
i++; i++;
if ((dev->dev_type == TM6010) && (addr == 0xc2)) { if (addr == dev->tuner_addr) {
tm6000_set_reg(dev, 0x32, 0,0); tm6000_set_reg(dev, 0x32, 0,0);
tm6000_set_reg(dev, 0x33, 0,0); tm6000_set_reg(dev, 0x33, 0,0);
} }
...@@ -105,7 +105,7 @@ static int tm6000_i2c_xfer(struct i2c_adapter *i2c_adap, ...@@ -105,7 +105,7 @@ static int tm6000_i2c_xfer(struct i2c_adapter *i2c_adap,
addr | msgs[i].buf[0] << 8, 0, addr | msgs[i].buf[0] << 8, 0,
msgs[i].buf + 1, msgs[i].len - 1); msgs[i].buf + 1, msgs[i].len - 1);
if ((dev->dev_type == TM6010) && (addr == 0xc2)) { if (addr == dev->tuner_addr) {
tm6000_set_reg(dev, 0x32, 0,0); tm6000_set_reg(dev, 0x32, 0,0);
tm6000_set_reg(dev, 0x33, 0,0); tm6000_set_reg(dev, 0x33, 0,0);
} }
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment