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)
committerGreg Kroah-Hartman <gregkh@suse.de>
Fri, 9 Dec 2011 16:54:04 +0000 (08:54 -0800)
commita638f9564fd11b37efee4e78d7ef9dc52eb2a7cd
tree2fe3108b19113b8e0090df7863a027b1753cd68c
parent19c8acbc4a4d444d72d256a7541b040cebddc78b
i2c-algo-bit: Generate correct i2c address sequence for 10-bit target

commit cc6bcf7d2ec2234e7b41770185e4dc826390185e upstream.

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>
Signed-off-by: Jean Delvare <khali@linux-fr.org>
Signed-off-by: Greg Kroah-Hartman <gregkh@suse.de>
drivers/i2c/algos/i2c-algo-bit.c