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

Re: [PATCH 3/4] i2c: stm32f7: stop dma transfer in case of NACK

From: Wolfram Sang <wsa@kernel.org>
Date: 2021-11-30 09:28:05
Also in: linux-i2c, lkml

On Mon, Sep 20, 2021 at 05:21:31PM +0200, Alain Volmat wrote:
In case of receiving a NACK, the dma transfer should be stopped
to avoid feeding data into the FIFO.
Also ensure to properly return the proper error code and avoid
waiting for the end of the dma completion in case of
error happening during the transmission.

Fixes: 7ecc8cfde553 ("i2c: i2c-stm32f7: Add DMA support")

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