i2c-algo-bit: Generate correct i2c address sequence for 10-bit target
authorJeffrey (Sheng-Hui) Chu <jeffchu@broadcom.com>
Wed, 23 Nov 2011 10:33:07 +0000 (11:33 +0100)
committerJean Delvare <khali@endymion.delvare>
Wed, 23 Nov 2011 10:33:07 +0000 (11:33 +0100)
commitcc6bcf7d2ec2234e7b41770185e4dc826390185e
tree930acbf0183df80cc6457d1febe10dae0886f92f
parentb4bbb02934e4511d9083f15c23e90703482e84ad
i2c-algo-bit: Generate correct i2c address sequence for 10-bit target

The wrong bits were put on the wire, fix that.

This fixes kernel bug #42562.

Signed-off-by: Sheng-Hui J. Chu <jeffchu@broadcom.com>
Cc: stable@kernel.org
Signed-off-by: Jean Delvare <khali@linux-fr.org>
drivers/i2c/algos/i2c-algo-bit.c