Skip to content
Commit a9bed6b1 authored by Ludovic Desroches's avatar Ludovic Desroches Committed by Wolfram Sang
Browse files

i2c: at91: manage unexpected RXRDY flag when starting a transfer



In some cases, we could start a new i2c transfer with the RXRDY flag
set. It is not a clean state and it leads to print annoying error
messages even if there no real issue. The cause is only having garbage
data in the Receive Holding Register because of a weird behavior of the
RXRDY flag.

Reported-by: default avatarPeter Rosin <peda@lysator.liu.se>
Signed-off-by: default avatarLudovic Desroches <ludovic.desroches@atmel.com>
Tested-by: default avatarPeter Rosin <peda@lysator.liu.se>
Signed-off-by: default avatarWolfram Sang <wsa@the-dreams.de>
Fixes: 93563a6a ("i2c: at91: fix a race condition when using the DMA controller")
Cc: stable@vger.kernel.org #4.1
parent 43e9f2aa
Loading
Loading
Loading
Loading
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment