aboutsummaryrefslogtreecommitdiffstats
path: root/drivers
diff options
context:
space:
mode:
authorMichael Krufky <mkrufky@linuxtv.org>2007-06-22 16:41:07 -0400
committerMauro Carvalho Chehab <mchehab@infradead.org>2007-07-18 13:24:18 -0400
commit096bb77abac4e44c37870f4f8adaec813295eb23 (patch)
treedd68e96a5c9c4bd07462ef1d87c79ad6167828ee /drivers
parent7d816b256df83070e75d4f738c10d66bfc192040 (diff)
V4L/DVB (5784): Dibusb-mb: fix tuner autodetection regression
We must set i2c_msg.addr in order for the autodetection test to succeed! Signed-off-by: Michael Krufky <mkrufky@linuxtv.org> Signed-off-by: Mauro Carvalho Chehab <mchehab@infradead.org>
Diffstat (limited to 'drivers')
-rw-r--r--drivers/media/dvb/dvb-usb/dibusb-mb.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/drivers/media/dvb/dvb-usb/dibusb-mb.c b/drivers/media/dvb/dvb-usb/dibusb-mb.c
index 4cf7bbc7f6a4..043cadae0859 100644
--- a/drivers/media/dvb/dvb-usb/dibusb-mb.c
+++ b/drivers/media/dvb/dvb-usb/dibusb-mb.c
@@ -74,7 +74,7 @@ static int dibusb_tuner_probe_and_attach(struct dvb_usb_adapter *adap)
74 struct dibusb_state *st = adap->priv; 74 struct dibusb_state *st = adap->priv;
75 75
76 /* the Panasonic sits on I2C addrass 0x60, the Thomson on 0x61 */ 76 /* the Panasonic sits on I2C addrass 0x60, the Thomson on 0x61 */
77 st->tuner_addr = 0x60; 77 msg[0].addr = msg[1].addr = st->tuner_addr = 0x60;
78 78
79 if (adap->fe->ops.i2c_gate_ctrl) 79 if (adap->fe->ops.i2c_gate_ctrl)
80 adap->fe->ops.i2c_gate_ctrl(adap->fe,1); 80 adap->fe->ops.i2c_gate_ctrl(adap->fe,1);