[PATCH] mtd: rawnand: cadence: Fix error check for dma_alloc_coherent() in cadence_nand_init()

Miquel Raynal miquel.raynal at bootlin.com
Wed Feb 25 08:49:49 PST 2026


On Mon, 09 Feb 2026 15:56:18 +0800, Chen Ni wrote:
> Fix wrong variable used for error checking after dma_alloc_coherent()
> call. The function checks cdns_ctrl->dma_cdma_desc instead of
> cdns_ctrl->cdma_desc, which could lead to incorrect error handling.
> 
> 

Applied to mtd/fixes, thanks!

[1/1] mtd: rawnand: cadence: Fix error check for dma_alloc_coherent() in cadence_nand_init()
      commit: 0410e1a4c545c769c59c6eda897ad5d574d0c865

Patche(s) should be available on mtd/linux.git and will be
part of the next PR (provided that no robot complains by then).

Kind regards,
Miquèl




More information about the linux-mtd mailing list