]> git.dujemihanovic.xyz Git - u-boot.git/commit
fsl_i2c: generate nine pulses on SCL if the I2C bus is hung
authorChunhe Lan <Chunhe.Lan@freescale.com>
Fri, 16 Aug 2013 07:10:36 +0000 (15:10 +0800)
committerHeiko Schocher <hs@denx.de>
Tue, 20 Aug 2013 09:15:31 +0000 (11:15 +0200)
commitb8ce3343b64434b95b9a25dea0534bf9f1593e8c
tree5076a3bb52764df13495ee85b29efdf1d691aebf
parent40a60c6e8bdd00330310eaa351c9391e74d0bc2c
fsl_i2c: generate nine pulses on SCL if the I2C bus is hung

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 <chenhui.zhao@freescale.com>
Signed-off-by: Chunhe Lan <Chunhe.Lan@freescale.com>
Cc: Scott Wood <scottwood@freescale.com>
Cc: Heiko Schocher <hs@denx.de>
drivers/i2c/fsl_i2c.c