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

From: Thierry Reding

Date: Wed Nov 04 2026 - 08:12:18 EST


On Mon, Nov 02, 2026 at 12:39:58PM -0500, 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>
> ---
[...]
> drivers/spi/spi-tegra114.c | 6 ++----
> drivers/spi/spi-tegra20-slink.c | 6 ++----
> drivers/spi/spi-tegra210-quad.c | 6 ++----

Acked-by: Thierry Reding <treding@xxxxxxxxxx>

Attachment: signature.asc
Description: PGP signature