From mboxrd@z Thu Jan 1 00:00:00 1970 From: Heiko Schocher Date: Tue, 20 Aug 2013 11:20:35 +0200 Subject: [U-Boot] [PATCH v3 1/2] fsl_i2c: generate nine pulses on SCL if the I2C bus is hung In-Reply-To: <1376637037-17839-1-git-send-email-Chunhe.Lan@freescale.com> References: <1376637037-17839-1-git-send-email-Chunhe.Lan@freescale.com> Message-ID: <521334E3.4060201@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 Chunhe, Am 16.08.2013 09:10, schrieb Chunhe Lan: > When the code detected that the bus is hung (e.g. SDA stuck low), > send 9 pulses on SCL to try to fixup the bus. > > Signed-off-by: Zhao Chenhui > Signed-off-by: Chunhe Lan > Cc: Scott Wood > Cc: Heiko Schocher > --- > Changes for v2: > - No change > Changes for v3: > - Rework codes for the newest mainline > > drivers/i2c/fsl_i2c.c | 59 +++++++++++++++++++++++++++++++++++++++++++++++- > 1 files changed, 57 insertions(+), 2 deletions(-) Applied to u-boot-i2c.git, thanks. bye, Heiko -- DENX Software Engineering GmbH, MD: Wolfgang Denk & Detlev Zundel HRB 165235 Munich, Office: Kirchenstr.5, D-82194 Groebenzell, Germany