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

From: Troy Mitchell

Date: Tue Nov 03 2026 - 21:01:57 EST


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

[...]

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


--
Troy Mitchell

Attachment: signature.asc
Description: PGP signature