]> git.karo-electronics.de Git - karo-tx-linux.git/commit
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:52:19 +0000 (08:52 -0800)
commite8cb7517f0bfa7cdc6dd91d244f95bdcecd5589c
treeed996c8c4e03f594543adfd8157e59002307892e
parent051726ea7a7d39c03cb5653c962b0b6f47b5cc37
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