[PATCH 1/1] mmc: use dmaengine_desc_set_callback()

Shawn Lin shawn.lin at rock-chips.com
Tue Nov 3 18:40:01 PST 2026


在 2026/11/03 星期二 1:21, Frank.Li at oss.nxp.com 写道:
> From: Frank Li <Frank.Li at nxp.com>
> 
> Replace open-coded assignments to callback and callback_param fields
> of struct dma_async_tx_descriptor with calls to the
> dmaengine_desc_set_callback() helper across MMC host drivers.
> 
> No functional change intended. Prepare make to struct
> dma_async_tx_descriptor private to the DMA engine.
> 
> Signed-off-by: Frank Li <Frank.Li at nxp.com>

...

>   drivers/mmc/host/dw_mmc.c                | 3 +--
For dw_mmc.c,

Reviewed-by: Shawn Lin <shawn.lin at rock-chips.com>



More information about the linux-arm-kernel mailing list