diff options
author | Christian Eggers | 2020-10-09 13:03:19 +0200 |
---|---|---|
committer | Wolfram Sang | 2020-12-02 21:28:20 +0100 |
commit | 1de67a3dee7a279ebe4d892b359fe3696938ec15 (patch) | |
tree | 77db1ed346aa4ed5548b2235951f92f09024a6a0 /Kbuild | |
parent | 384a9565f70a876c2e78e58c5ca0bbf0547e4f6d (diff) |
i2c: imx: Check for I2SR_IAL after every byte
Arbitration Lost (IAL) can happen after every single byte transfer. If
arbitration is lost, the I2C hardware will autonomously switch from
master mode to slave. If a transfer is not aborted in this state,
consecutive transfers will not be executed by the hardware and will
timeout.
Signed-off-by: Christian Eggers <ceggers@arri.de>
Tested (not extensively) on Vybrid VF500 (Toradex VF50):
Tested-by: Krzysztof Kozlowski <krzk@kernel.org>
Acked-by: Oleksij Rempel <o.rempel@pengutronix.de>
Cc: stable@vger.kernel.org
Signed-off-by: Wolfram Sang <wsa@kernel.org>
Diffstat (limited to 'Kbuild')
0 files changed, 0 insertions, 0 deletions