commit | c324b785a0b8c7e7750b8a90b47186f76febc721 | [log] [tgz] |
---|---|---|
author | Joakim Tjernlund <Joakim.Tjernlund@transmode.se> | Thu Sep 17 11:07:15 2009 +0200 |
committer | Heiko Schocher <hs@denx.de> | Mon Sep 28 07:35:52 2009 +0200 |
tree | e7668f7ea1f9b9872801f93967c5f4b81aaad8d7 | |
parent | 71be1e0828cabe8f4cae6476cf8c48ed4760b710 [diff] |
fsl_i2c: Wait for STOP condition to propagate After issuing a STOP one must wait until the STOP has completed on the bus before doing something new to the controller. Also add an extra read of SR as the manual mentions doing that is a good idea. Remove surplus write of CR just before a write, isn't required and could potentially disturb the I2C bus. Signed-off-by: Joakim Tjernlund <Joakim.Tjernlund@transmode.se>