Re: [PATCH] mtd: rawnand: Fix an error handling path in 'ebu_dma_start()'

2021-01-27 Thread Miquel Raynal
On Sun, 2021-01-24 at 07:39:55 UTC, Christophe JAILLET wrote: > If 'dmaengine_prep_slave_single()' fails, we must undo a previous > 'dma_map_single()' call, as already done in all the other error handling > paths of this function. > > Fixes: 0b1039f016e8 ("mtd: rawnand: Add NAND controller

Re: [PATCH] mtd: rawnand: Fix an error handling path in 'ebu_dma_start()'

2021-01-24 Thread Richard Weinberger
On Sun, Jan 24, 2021 at 9:13 PM Markus Elfring wrote: > > > If 'dmaengine_prep_slave_single()' fails, we must undo a previous > > 'dma_map_single()' call, as already done in all the other error handling > > paths of this function. > > Would you ever like to use an imperative wording for the

[PATCH] mtd: rawnand: Fix an error handling path in 'ebu_dma_start()'

2021-01-23 Thread Christophe JAILLET
If 'dmaengine_prep_slave_single()' fails, we must undo a previous 'dma_map_single()' call, as already done in all the other error handling paths of this function. Fixes: 0b1039f016e8 ("mtd: rawnand: Add NAND controller support on Intel LGM SoC") Signed-off-by: Christophe JAILLET ---