Messages in this thread | | | Date | Mon, 29 Nov 2021 13:12:31 +0100 | From | Wolfram Sang <> | Subject | Re: [PATCH 1/4] i2c: stm32f7: flush TX FIFO upon transfer errors |
| |
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!
[unhandled content-type:application/pgp-signature] | |