[PATCH 1/1] powerpc/512x: lpbfifo: use dmaengine_submit() instead of ->tx_submit()

DORMANTno replies

From: <hidden>
Date: 2026-10-02 19:22:51
Also in: imx, lkml
Subsystem: linux for powerpc (32-bit and 64-bit), linux for powerpc embedded mpc5xxx, the rest · Maintainers: Madhavan Srinivasan, Anatolij Gustschin, Linus Torvalds

From: Frank Li <Frank.Li@nxp.com>

Replace direct dma_async_tx_descriptor->tx_submit() call with the
proper dmaengine_submit() API wrapper.

Assisted-by: LLM
Signed-off-by: Frank Li <Frank.Li@nxp.com>
---
 arch/powerpc/platforms/512x/mpc512x_lpbfifo.c | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)
diff --git a/arch/powerpc/platforms/512x/mpc512x_lpbfifo.c b/arch/powerpc/platforms/512x/mpc512x_lpbfifo.c
index f251e0f682620..5f1f8310c30cf 100644
--- a/arch/powerpc/platforms/512x/mpc512x_lpbfifo.c
+++ b/arch/powerpc/platforms/512x/mpc512x_lpbfifo.c
@@ -310,7 +310,7 @@ static int mpc512x_lpbfifo_kick(void)
 	out_be32(&lpbfifo.regs->pkt_size, bits);
 
 	/* 5. Finally kick DMA off */
-	cookie = dma_tx->tx_submit(dma_tx);
+	cookie = dmaengine_submit(dma_tx);
 	if (dma_submit_error(cookie)) {
 		ret = -ENOSPC;
 		goto err_dma_submit;
-- 
2.43.0

Keyboard shortcuts
hback out one level
jnext message in thread
kprevious message in thread
ldrill in
Escclose help / fold thread tree
?toggle this help