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

From: Wolfram Sang
Date: Tue Nov 30 2021 - 04:28:06 EST


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@xxxxxxxxxxx>

Applied to for-current, thanks!

Attachment: signature.asc
Description: PGP signature