mirror of https://lore.kernel.org/lkml/
 help / color / mirror / Atom feed
From: Frank.Li@oss.nxp.com
To: Greg Kroah-Hartman <gregkh@linuxfoundation.org>,
	Jiri Slaby <jirislaby@kernel.org>,
	Andy Shevchenko <andriy.shevchenko@linux.intel.com>,
	"Mike Rapoport (Microsoft)" <rppt@kernel.org>,
	John Ogness <john.ogness@linutronix.de>,
	Zhaoyang Yu <2426767509@qq.com>, Frank Li <Frank.Li@nxp.com>,
	Kees Cook <kees@kernel.org>,
	Haoxiang Li <haoxiang_li2024@163.com>,
	linux-kernel@vger.kernel.org (open list:TTY LAYER AND SERIAL
	DRIVERS),
	linux-serial@vger.kernel.org (open list:TTY LAYER AND SERIAL
	DRIVERS)
Cc: vkoul@kernel.org, imx@lists.linux.dev
Subject: [PATCH 1/1] tty: serial: pch_uart: use dmaengine_submit() instead of ->tx_submit()
Date: Fri,  2 Oct 2026 16:09:23 -0400	[thread overview]
Message-ID: <20261002200927.236033-1-Frank.Li@oss.nxp.com> (raw)

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


             reply	other threads:[~2026-10-02 20:09 UTC|newest]

Thread overview: 2+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2026-10-02 20:09 Frank.Li [this message]
2026-10-03 15:04 ` Andy Shevchenko

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=20261002200927.236033-1-Frank.Li@oss.nxp.com \
    --to=frank.li@oss.nxp.com \
    --cc=2426767509@qq.com \
    --cc=Frank.Li@nxp.com \
    --cc=andriy.shevchenko@linux.intel.com \
    --cc=gregkh@linuxfoundation.org \
    --cc=haoxiang_li2024@163.com \
    --cc=imx@lists.linux.dev \
    --cc=jirislaby@kernel.org \
    --cc=john.ogness@linutronix.de \
    --cc=kees@kernel.org \
    --cc=linux-kernel@vger.kernel.org \
    --cc=linux-serial@vger.kernel.org \
    --cc=rppt@kernel.org \
    --cc=vkoul@kernel.org \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
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®