Skip to content

Commit

Permalink
V4L/DVB (5784): Dibusb-mb: fix tuner autodetection regression
Browse files Browse the repository at this point in the history
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>
  • Loading branch information
Michael Krufky authored and Mauro Carvalho Chehab committed Jul 18, 2007
1 parent 7d816b2 commit 096bb77
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion drivers/media/dvb/dvb-usb/dibusb-mb.c
Original file line number Diff line number Diff line change
Expand Up @@ -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);
Expand Down

0 comments on commit 096bb77

Please sign in to comment.