summaryrefslogtreecommitdiff
path: root/arch/arm64/include/asm/assembler.h
diff options
context:
space:
mode:
authorChristian Eggers <ceggers@arri.de>2020-10-09 13:03:19 +0200
committerGreg Kroah-Hartman <gregkh@linuxfoundation.org>2020-12-11 13:36:45 +0100
commit735f3adc2b4b75cf8e6c554759346edf772939fd (patch)
tree2bb15ba357fb29efe0d6d53cd03cbe2c3e70569e /arch/arm64/include/asm/assembler.h
parentf8927031e07b904aa775dadecaa732e8b3bd809e (diff)
i2c: imx: Check for I2SR_IAL after every byte
commit 1de67a3dee7a279ebe4d892b359fe3696938ec15 upstream. 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> Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
Diffstat (limited to 'arch/arm64/include/asm/assembler.h')
0 files changed, 0 insertions, 0 deletions