commit | 43309f3b521302bb66c4c9e66704dd3675e4d725 | [log] [tgz] |
---|---|---|
author | Richard Zhao <linuxzsc@gmail.com> | Sat Oct 17 17:46:22 2009 +0800 |
committer | Ben Dooks <ben-linux@fluff.org> | Mon Nov 02 23:28:46 2009 +0000 |
tree | 4f2e927b301a9b89d6fb35e524c90b37331129b2 | |
parent | 1836d95928a0f41ada0cbb2a6c4e46b027db9491 [diff] |
i2c: imx: check busy bit when START/STOP 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>