commit | 2c695465513c2cf9909640e8a61055780d1089b6 | [log] [tgz] |
---|---|---|
author | Ye Li <ye.li@nxp.com> | Sun Jul 08 11:46:43 2018 +0800 |
committer | Heiko Schocher <hs@denx.de> | Thu Jul 12 11:09:42 2018 +0200 |
tree | b65d173cf523807e21353a3230cfabff8a01e081 | |
parent | a917ed94dacd6f6a4477039ebb7fd30ee52809ca [diff] |
lpi2c: Add bus busy error handling When doing "i2c dev 4; i2c probe" with ENET daughter card connected on iMX8QXP MEK board, we met a i2c bus busy issue, that the BBF of lpi2c always show busy, but the master is idle, and stop is detected (SDF set). This patch addes a handling to re-init the lpi2c master for this case. Then the issue can be worked around. Signed-off-by: Ye Li <ye.li@nxp.com> Acked-by: Peng Fan <peng.fan@nxp.com> Reviewed-by: Heiko Schocher <hs@denx.de>