Commit ea40a8d8 authored by Michael Hunold's avatar Michael Hunold Committed by Linus Torvalds

[PATCH] correct the i2c address of saa7111

 - this patch corrects the i2c address from "34>>1" to 0x24 and 0x25.

   Believe me -- or look at the data sheet, for example from

    http://www.gdv.uni-hannover.de/~hunold1/linux/saa7146/specs/saa7111a.pdf

   Page 41 says: "Slave address read = 49H or 4BH; note 2 write = 48H or
   4AH" They use 8-bit addresses here, but i2c addresses are 7-bit, ie.
   0x48>>1 == 0x24 and 0x4a>>1 = 0x25
parent 774d1888
......@@ -57,7 +57,7 @@ struct saa7111 {
int sat;
};
static unsigned short normal_i2c[] = { 34>>1, I2C_CLIENT_END };
static unsigned short normal_i2c[] = { 0x24, 0x25, I2C_CLIENT_END };
static unsigned short normal_i2c_range[] = { I2C_CLIENT_END };
I2C_CLIENT_INSMOD;
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment