diff options
| author | Ludovic Desroches <ludovic.desroches@atmel.com> | 2015-10-26 10:38:27 +0100 |
|---|---|---|
| committer | Moyster <oysterized@gmail.com> | 2017-06-17 15:54:53 +0200 |
| commit | 7362c845de89765005e62ae43f13b169da655b85 (patch) | |
| tree | 329475f3d35ca781c2a843b9d21ec78f512b6b11 /net/ipv4 | |
| parent | 25e5066b911826951684ffc3d68fefbd5b9b7186 (diff) | |
i2c: at91: manage unexpected RXRDY flag when starting a transfer
commit a9bed6b10bd117a300cceb9062003f7a2761ef99 upstream.
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")
Signed-off-by: Jiri Slaby <jslaby@suse.cz>
Signed-off-by: Willy Tarreau <w@1wt.eu>
Diffstat (limited to 'net/ipv4')
0 files changed, 0 insertions, 0 deletions
