From mboxrd@z Thu Jan 1 00:00:00 1970 From: Heiko Schocher Date: Sat, 03 Aug 2013 05:58:30 +0200 Subject: [U-Boot] [PATCH v2 1/2] fsl_i2c: generate nine pulses on SCL if the I2C bus is hung In-Reply-To: <1375344455-28947-1-git-send-email-Chunhe.Lan@freescale.com> References: <1375344455-28947-1-git-send-email-Chunhe.Lan@freescale.com> Message-ID: <51FC7FE6.3000406@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 01.08.2013 10:07, 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 > --- > drivers/i2c/fsl_i2c.c | 58 +++++++++++++++++++++++++++++++++++++++++++++++- > 1 files changed, 56 insertions(+), 2 deletions(-) Patch does not aplly clean to current mainline, please resubmit. Thanks! bye, Heiko -- DENX Software Engineering GmbH, MD: Wolfgang Denk & Detlev Zundel HRB 165235 Munich, Office: Kirchenstr.5, D-82194 Groebenzell, Germany