[U-Boot] [PATCH 1/3] fsl_i2c: Wait for STOP condition to propagate

Heiko Schocher
2009-09-17T12:03:48Z

Hello Joakim,

Joakim Tjernlund wrote:
> 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>
> ---
> drivers/i2c/fsl_i2c.c | 12 ++++++++----
> 1 files changed, 8 insertions(+), 4 deletions(-)

Applied to u-boot-i2c testing

I applied your 3 patches at the moment to the u-boot-i2c testing branch,
in the hope to see some "Tested-by" ;-)

Thanks.

bye
Heiko
--
DENX Software Engineering GmbH, MD: Wolfgang Denk & Detlev Zundel
HRB 165235 Munich, Office: Kirchenstr.5, D-82194 Groebenzell, Germany