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

Kunihiko Hayashi hayashi.kunihiko at socionext.com
Tue Nov 3 17:58:47 PST 2026


On 2026/11/03 2:39, Frank.Li at oss.nxp.com wrote:
> 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 SPI bus 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>

(snip)

>   drivers/spi/spi-uniphier.c        | 6 ++----

Reviewed-by: Kunihiko Hayashi <hayashi.kunihiko at socionext.com>

Thank you,

---
Best Regards
Kunihiko Hayashi



More information about the linux-riscv mailing list