[PATCH 1/1] mtd: nand: raw: use dmaengine accessor API functions

Miquel Raynal miquel.raynal at bootlin.com
Tue Nov 17 06:13:25 PST 2026


On 11/11/2026 at 15:24:45 -05, Frank.Li at oss.nxp.com wrote:

> From: Frank Li <Frank.Li at nxp.com>
>
> Use dmaengine_get_dma_device() instead of directly accessing chan->device
> and use dmaengine_prep_dma_memcpy() instead of calling the function pointer
> directly. This follows the dmaengine API convention of using accessor
> helpers to decouple drivers from internal dmaengine structures.
>
> Affects cadence-nand-controller and fsmc_nand drivers.
>
> No functional change and prepare to move struct dma_device to private.
>
> Signed-off-by: Frank Li <Frank.Li at nxp.com>

I will fix the subject when applying (nand: raw: -> rawnand:)

Thanks,
Miquèl



More information about the linux-mtd mailing list