bttv-0.7.67: tuner address correction oneliner

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]



Hi Gerd,
please apply this patch to give the correct tuner i2c address.
-
Gunther

--- bttv-0.7.67/driver/tuner.c-orig-0767        Tue Jun  5 22:22:59 2001
+++ bttv-0.7.67/driver/tuner.c  Tue Jun  5 22:23:55 2001
@@ -432,7 +432,7 @@
         client_template.adapter = adap;
         client_template.addr = addr;
 
-        printk("tuner: chip found @ 0x%x\n",addr);
+        printk("tuner: chip found @ 0x%x\n",addr<<1); // the i2c layer hides the least significant bit
 
         if (NULL == (client = kmalloc(sizeof(struct i2c_client), GFP_KERNEL)))
                 return -ENOMEM;

Attachment: gmdiff-bttv0767-tuner_i2c_address
Description: Binary data


[Index of Archives]     [Linux DVB]     [Video Disk Recorder]     [Asterisk]     [Photo]     [DCCP]     [Netdev]     [Xorg]     [Util Linux NG]     [Xfree86]     [Free Photo Albums]     [Fedora Users]     [Fedora Women]     [ALSA Users]     [ALSA Devel]     [Linux USB]

Powered by Linux