From mboxrd@z Thu Jan 1 00:00:00 1970 From: Heiko Schocher Date: Thu, 17 Sep 2009 14:03:48 +0200 Subject: [U-Boot] [PATCH 1/3] fsl_i2c: Wait for STOP condition to propagate In-Reply-To: <1253178437-32398-1-git-send-email-Joakim.Tjernlund@transmode.se> References: <1253178437-32398-1-git-send-email-Joakim.Tjernlund@transmode.se> Message-ID: <4AB225A4.3040904@denx.de> List-Id: MIME-Version: 1.0 Content-Type: text/plain; charset="us-ascii" Content-Transfer-Encoding: 7bit To: u-boot@lists.denx.de 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 > --- > 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