mirror of
https://github.com/followmsi/android_kernel_google_msm.git
synced 2024-11-06 23:17:41 +00:00
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>
This commit is contained in:
parent
7d816b256d
commit
096bb77aba
1 changed files with 1 additions and 1 deletions
|
@ -74,7 +74,7 @@ static int dibusb_tuner_probe_and_attach(struct dvb_usb_adapter *adap)
|
||||||
struct dibusb_state *st = adap->priv;
|
struct dibusb_state *st = adap->priv;
|
||||||
|
|
||||||
/* the Panasonic sits on I2C addrass 0x60, the Thomson on 0x61 */
|
/* 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)
|
if (adap->fe->ops.i2c_gate_ctrl)
|
||||||
adap->fe->ops.i2c_gate_ctrl(adap->fe,1);
|
adap->fe->ops.i2c_gate_ctrl(adap->fe,1);
|
||||||
|
|
Loading…
Reference in a new issue