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

Troy Mitchell troy.mitchell at linux.spacemit.com
Tue Nov 3 17:04:38 PST 2026


On Tue Nov 3, 2026 at 1:39 AM +08, Frank.Li 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/atmel-quadspi.c       | 3 +--

[...]

>  drivers/spi/spi-spacemit-k1.c     | 3 +--
For spi-spacemit-k1.c:
Reviewed-by: Troy Mitchell <troy.mitchell at linux.spacemit.com>


-- 
Troy Mitchell

-------------- next part --------------
A non-text attachment was scrubbed...
Name: signature.asc
Type: application/pgp-signature
Size: 252 bytes
Desc: not available
URL: <http://lists.infradead.org/pipermail/linux-riscv/attachments/20261104/d762dc55/attachment.sig>


More information about the linux-riscv mailing list