Re: [PATCH v3] i2c: at91: manage unexpected RXRDY flag when starting a transfer
From: Wolfram Sang
Date: Mon Oct 26 2015 - 10:47:35 EST
On Mon, Oct 26, 2015 at 10:38:27AM +0100, Ludovic Desroches wrote:
> 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.
> Signed-off-by: Ludovic Desroches <ludovic.desroches@xxxxxxxxx>
> Fixes: 93563a6a71bb ("i2c: at91: fix a race condition when using the DMA
> Reported-by: Peter Rosin <peda@xxxxxxxxxxxxxx>
> Tested-by: Peter Rosin <peda@xxxxxxxxxxxxxx>
> Cc: stable@xxxxxxxxxxxxxxx #4.1
Applied to for-next, thanks!
Description: Digital signature