]> git.baikalelectronics.ru Git - kernel.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)
commitf7bb828dc420d87efe217200a3a49298888f547d
tree50cd2a5ab8bba9711dd0185e3d232e323e8d6c39
parentad4767b124ba507cf95b7086ddff28fbae810bdf
[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