Re: [PATCH 1/1] mtd: nand: raw: use dmaengine accessor API functions
From: Miquel Raynal
Date: Tue Nov 17 2026 - 09:15:49 EST
On 11/11/2026 at 15:24:45 -05, Frank.Li@xxxxxxxxxxx wrote:
> From: Frank Li <Frank.Li@xxxxxxx>
>
> 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@xxxxxxx>
I will fix the subject when applying (nand: raw: -> rawnand:)
Thanks,
Miquèl