commit | 21f4cbb77299788e2b06c9b0f48cf20a5ab00d4a | [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 | 984f10baac8ef6032df52f135943d6b0bc96f724 [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>