* [PATCH 1/1] soc: tegra: use dmaengine_desc_set_callback()
@ 2026-11-02 17:50 Frank.Li
0 siblings, 0 replies; only message in thread
From: Frank.Li @ 2026-11-02 17:50 UTC (permalink / raw)
To: Thierry Reding, Jonathan Hunter, Frank Li,
open list:TEGRA ARCHITECTURE SUPPORT, open list
Cc: imx, vkoul
From: Frank Li <Frank.Li@nxp.com>
Replace open-coded assignments to callback and callback_param fields
of struct dma_async_tx_descriptor with a call to the
dmaengine_desc_set_callback() helper.
No functional change intended. Prepare make to struct
dma_async_tx_descriptor private to the DMA engine.
Signed-off-by: Frank Li <Frank.Li@nxp.com>
---
drivers/soc/tegra/fuse/fuse-tegra20.c | 3 +--
1 file changed, 1 insertion(+), 2 deletions(-)
diff --git a/drivers/soc/tegra/fuse/fuse-tegra20.c b/drivers/soc/tegra/fuse/fuse-tegra20.c
index fdecf7b7c2466..b98696f551ea8 100644
--- a/drivers/soc/tegra/fuse/fuse-tegra20.c
+++ b/drivers/soc/tegra/fuse/fuse-tegra20.c
@@ -66,8 +66,7 @@ static u32 tegra20_fuse_read(struct tegra_fuse *fuse, unsigned int offset)
if (!dma_desc)
goto out;
- dma_desc->callback = apb_dma_complete;
- dma_desc->callback_param = fuse;
+ dmaengine_desc_set_callback(dma_desc, apb_dma_complete, NULL, fuse);
reinit_completion(&fuse->apbdma.wait);
--
2.43.0
^ permalink raw reply [flat|nested] only message in thread
only message in thread, other threads:[~2026-11-02 17:50 UTC | newest]
Thread overview: (only message) (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2026-11-02 17:50 [PATCH 1/1] soc: tegra: use dmaengine_desc_set_callback() Frank.Li
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox
all inboxes | Powered by JetHome®