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

From: Linus Walleij

Date: Tue Nov 03 2026 - 04:07:55 EST


On Mon, Nov 2, 2026 at 6:40 PM <Frank.Li@xxxxxxxxxxx> wrote:

> From: Frank Li <Frank.Li@xxxxxxx>
>
> 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@xxxxxxx>

Makes sense.
Reviewed-by: Linus Walleij <linusw@xxxxxxxxxx>

Yours,
Linus Walleij