[PATCH 1/1] spi: use dmaengine_desc_set_callback()
Thierry Reding
thierry.reding at kernel.org
Wed Nov 4 05:06:08 PST 2026
On Mon, Nov 02, 2026 at 12:39:58PM -0500, 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>
> ---
[...]
> 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 at nvidia.com>
-------------- next part --------------
A non-text attachment was scrubbed...
Name: signature.asc
Type: application/pgp-signature
Size: 833 bytes
Desc: not available
URL: <http://lists.infradead.org/pipermail/linux-rockchip/attachments/20261104/d845e271/attachment-0001.sig>
More information about the Linux-rockchip
mailing list