Gitweb:     
http://git.kernel.org/git/?p=linux/kernel/git/torvalds/linux-2.6.git;a=commit;h=096bb77abac4e44c37870f4f8adaec813295eb23
Commit:     096bb77abac4e44c37870f4f8adaec813295eb23
Parent:     7d816b256df83070e75d4f738c10d66bfc192040
Author:     Michael Krufky <[EMAIL PROTECTED]>
AuthorDate: Fri Jun 22 17:41:07 2007 -0300
Committer:  Mauro Carvalho Chehab <[EMAIL PROTECTED]>
CommitDate: Wed Jul 18 14:24:18 2007 -0300

    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 <[EMAIL PROTECTED]>
    Signed-off-by: Mauro Carvalho Chehab <[EMAIL PROTECTED]>
---
 drivers/media/dvb/dvb-usb/dibusb-mb.c |    2 +-
 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 4cf7bbc..043cada 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)
        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);
-
To unsubscribe from this list: send the line "unsubscribe git-commits-head" in
the body of a message to [EMAIL PROTECTED]
More majordomo info at  http://vger.kernel.org/majordomo-info.html

Reply via email to