[PATCH v1 05/19] mtd: rawnand: marvell: Fix error handle regarding dma_map_sg

Miquel Raynal miquel.raynal at bootlin.com
Tue Sep 20 01:34:02 PDT 2022


On Fri, 2022-08-19 at 06:07:47 UTC, Jack Wang wrote:
> dma_map_sg return 0 on error, in case of error return -EIO,
> also add the dma_unmap_sg as rollback on the following error.
> 
> Cc: Miquel Raynal <miquel.raynal at bootlin.com>
> Cc: Richard Weinberger <richard at nod.at>
> Cc: Vignesh Raghavendra <vigneshr at ti.com>
> Cc: Maxime Coquelin <mcoquelin.stm32 at gmail.com>
> Cc: Alexandre Torgue <alexandre.torgue at foss.st.com>
> Cc: Philipp Zabel <p.zabel at pengutronix.de>
> Cc: Christophe Kerello <christophe.kerello at foss.st.com>
> Cc: Cai Huoqing <cai.huoqing at linux.dev>
> Cc: linux-mtd at lists.infradead.org
> Cc: linux-stm32 at st-md-mailman.stormreply.com
> Cc: linux-arm-kernel at lists.infradead.org
> Cc: linux-kernel at vger.kernel.org
> 
> Signed-off-by: Jack Wang <jinpu.wang at ionos.com>

Applied to https://git.kernel.org/pub/scm/linux/kernel/git/mtd/linux.git nand/next, thanks.

Miquel



More information about the linux-mtd mailing list