diff options
author | Ludovic Desroches <ludovic.desroches@atmel.com> | 2015-10-26 12:38:27 +0300 |
---|---|---|
committer | Wolfram Sang <wsa@the-dreams.de> | 2015-10-26 17:44:59 +0300 |
commit | a9bed6b10bd117a300cceb9062003f7a2761ef99 (patch) | |
tree | 6ab2b6481067ab4d759f4a206d84dd19745e6aae /sound | |
parent | 43e9f2aa7788cc60eb11fe3cb4fb6f0b63c35de6 (diff) | |
download | linux-a9bed6b10bd117a300cceb9062003f7a2761ef99.tar.xz |
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: Peter Rosin <peda@lysator.liu.se>
Signed-off-by: Ludovic Desroches <ludovic.desroches@atmel.com>
Tested-by: Peter Rosin <peda@lysator.liu.se>
Signed-off-by: Wolfram Sang <wsa@the-dreams.de>
Fixes: 93563a6a71bb ("i2c: at91: fix a race condition when using the DMA controller")
Cc: stable@vger.kernel.org #4.1
Diffstat (limited to 'sound')
0 files changed, 0 insertions, 0 deletions