i2c: imx: check busy bit when START/STOP
authorRichard Zhao <linuxzsc@gmail.com>
Sat, 17 Oct 2009 09:46:22 +0000 (17:46 +0800)
committerBen Dooks <ben-linux@fluff.org>
Mon, 2 Nov 2009 23:28:46 +0000 (23:28 +0000)
The controller can't do anything else before it actually generates START/STOP.
So we check busy bit to make sure START/STOP is successfully finished.

If we don't check busy bit, START/STOP may fail on some fast CPUs.

Signed-off-by: Richard Zhao <linuxzsc@gmail.com>
Signed-off-by: Ben Dooks <ben-linux@fluff.org>

No differences found