]> pilppa.com Git - linux-2.6-omap-h63xx.git/commit
[PATCH] i2c: i2c-mv64xxx fix transaction abortion
authorMark A. Greer <mgreer@mvista.com>
Sun, 18 Dec 2005 16:22:01 +0000 (17:22 +0100)
committerGreg Kroah-Hartman <gregkh@suse.de>
Fri, 6 Jan 2006 06:16:27 +0000 (22:16 -0800)
commite91c021c487110386a07facd0396e6c3b7cf9c1f
tree50cd2a5ab8bba9711dd0185e3d232e323e8d6c39
parent7c72ccf09b6debe55b8e049377ad3183ed4f4cb3
[PATCH] i2c: i2c-mv64xxx fix transaction abortion

When the i2c-mv64xxx i2c driver is signalled to abort a transaction,
it aborts it immediately by issuing a stop condition on the bus.
This violates the i2c protocol and can cause what appears to be an i2c
bus hang.  This patch delays issuing the stop condition until the i2c
device can reasonably expect a stop condition.

Also includes a minor fixup.

Signed-off-by: Mark A. Greer <mgreer@mvista.com>
Signed-off-by: Jean Delvare <khali@linux-fr.org>
drivers/i2c/busses/i2c-mv64xxx.c