summaryrefslogtreecommitdiff
path: root/lib/test_stackinit.c
diff options
context:
space:
mode:
authorChristian Eggers <ceggers@arri.de>2020-10-09 14:03:19 +0300
committerWolfram Sang <wsa@kernel.org>2020-12-02 23:28:20 +0300
commit1de67a3dee7a279ebe4d892b359fe3696938ec15 (patch)
tree77db1ed346aa4ed5548b2235951f92f09024a6a0 /lib/test_stackinit.c
parent384a9565f70a876c2e78e58c5ca0bbf0547e4f6d (diff)
downloadlinux-1de67a3dee7a279ebe4d892b359fe3696938ec15.tar.xz
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 'lib/test_stackinit.c')
0 files changed, 0 insertions, 0 deletions