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

Linus Walleij linusw at kernel.org
Tue Nov 3 01:04:10 PST 2026


On Mon, Nov 2, 2026 at 6:40 PM <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>

Makes sense.
Reviewed-by: Linus Walleij <linusw at kernel.org>

Yours,
Linus Walleij



More information about the linux-riscv mailing list