mirror of https://lore.kernel.org/lkml/
 help / color / mirror / Atom feed
* [PATCH 1/1] tty: serial: pch_uart: use dmaengine_submit() instead of ->tx_submit()
@ 2026-10-02 20:09 Frank.Li
  2026-10-03 15:04 ` Andy Shevchenko
  0 siblings, 1 reply; 2+ messages in thread
From: Frank.Li @ 2026-10-02 20:09 UTC (permalink / raw)
  To: Greg Kroah-Hartman, Jiri Slaby, Andy Shevchenko,
	Mike Rapoport (Microsoft),
	John Ogness, Zhaoyang Yu, Frank Li, Kees Cook, Haoxiang Li,
	open list:TTY LAYER AND SERIAL DRIVERS,
	open list:TTY LAYER AND SERIAL DRIVERS
  Cc: vkoul, imx

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

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

Assisted-by: LLM
Signed-off-by: Frank Li <Frank.Li@nxp.com>
---
 drivers/tty/serial/pch_uart.c | 4 ++--
 1 file changed, 2 insertions(+), 2 deletions(-)

diff --git a/drivers/tty/serial/pch_uart.c b/drivers/tty/serial/pch_uart.c
index db5c62b0322f6..9505d255f09c5 100644
--- a/drivers/tty/serial/pch_uart.c
+++ b/drivers/tty/serial/pch_uart.c
@@ -811,7 +811,7 @@ static int dma_handle_rx(struct eg20t_port *priv)
 	priv->desc_rx = desc;
 	desc->callback = pch_dma_rx_complete;
 	desc->callback_param = priv;
-	desc->tx_submit(desc);
+	dmaengine_submit(desc);
 	dma_async_issue_pending(priv->chan_rx);
 
 	return PCH_UART_HANDLED_RX_INT;
@@ -971,7 +971,7 @@ static unsigned int dma_handle_tx(struct eg20t_port *priv)
 	desc->callback = pch_dma_tx_complete;
 	desc->callback_param = priv;
 
-	desc->tx_submit(desc);
+	dmaengine_submit(desc);
 
 	dma_async_issue_pending(priv->chan_tx);
 
-- 
2.43.0


^ permalink raw reply	[flat|nested] 2+ messages in thread

end of thread, other threads:[~2026-10-03 15:04 UTC | newest]

Thread overview: 2+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2026-10-02 20:09 [PATCH 1/1] tty: serial: pch_uart: use dmaengine_submit() instead of ->tx_submit() Frank.Li
2026-10-03 15:04 ` Andy Shevchenko

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®