summaryrefslogtreecommitdiff
path: root/linux
diff options
context:
space:
mode:
authorMichael Krufky <mkrufky@linuxtv.org>2007-06-22 16:41:07 -0400
committerMichael Krufky <mkrufky@linuxtv.org>2007-06-22 16:41:07 -0400
commit9e0b4ff01f2ba5a996da0811c0a97227948b2adb (patch)
tree8289ad4bae2b5bdbb77f06b0d9d53f277d64bb18 /linux
parent6301ad7e55f44cf256927f3eb083131e8750cac9 (diff)
downloadmediapointer-dvb-s2-9e0b4ff01f2ba5a996da0811c0a97227948b2adb.tar.gz
mediapointer-dvb-s2-9e0b4ff01f2ba5a996da0811c0a97227948b2adb.tar.bz2
dibusb-mb: fix tuner autodetection regression
From: Michael Krufky <mkrufky@linuxtv.org> We must set i2c_msg.addr in order for the autodetection test to succeed! Signed-off-by: Michael Krufky <mkrufky@linuxtv.org>
Diffstat (limited to 'linux')
-rw-r--r--linux/drivers/media/dvb/dvb-usb/dibusb-mb.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/linux/drivers/media/dvb/dvb-usb/dibusb-mb.c b/linux/drivers/media/dvb/dvb-usb/dibusb-mb.c
index c7fdddee1..0d0edece8 100644
--- a/linux/drivers/media/dvb/dvb-usb/dibusb-mb.c
+++ b/linux/drivers/media/dvb/dvb-usb/dibusb-mb.c
@@ -74,7 +74,7 @@ static int dibusb_tuner_probe_and_attach(struct dvb_usb_adapter *adap)
struct dibusb_state *st = adap->priv;
/* the Panasonic sits on I2C addrass 0x60, the Thomson on 0x61 */
- st->tuner_addr = 0x60;
+ msg[0].addr = msg[1].addr = st->tuner_addr = 0x60;
if (adap->fe->ops.i2c_gate_ctrl)
adap->fe->ops.i2c_gate_ctrl(adap->fe,1);