Thread (18 messages) 18 messages, 3 authors, 2021-11-30

Re: [PATCH 1/4] i2c: stm32f7: flush TX FIFO upon transfer errors

From: Wolfram Sang <wsa@kernel.org>
Date: 2021-11-29 12:14:37
Also in: linux-i2c, lkml

On Mon, Sep 20, 2021 at 05:21:29PM +0200, Alain Volmat wrote:
While handling an error during transfer (ex: NACK), it could
happen that the driver has already written data into TXDR
before the transfer get stopped.
This commit add TXDR Flush after end of transfer in case of error to
avoid sending a wrong data on any other slave upon next transfer.

Fixes: aeb068c57214 ("i2c: i2c-stm32f7: add driver")

Signed-off-by: Alain Volmat <alain.volmat@foss.st.com>
Applied to for-current, thanks!
Keyboard shortcuts
hback out one level
jnext message in thread
kprevious message in thread
ldrill in
Escclose help / fold thread tree
?toggle this help