tty: serial: pch_uart: use dmaengine_submit() instead of ->tx_submit()
Subsystems (2)
PATCH 1/1 tty: serial: pch_uart: use dmaengine_submit() instead of ->tx_submit()
From: Frank Li <[email protected]>
Replace direct dma_async_tx_descriptor->tx_submit() calls with the proper dmaengine_submit() API wrapper.
Assisted-by LLM
Signed-off-by Frank Li <[email protected]>
--- drivers/tty/serial/pch_uart.c | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-)
drivers/tty/serial/pch_uart.c +2 -2
@@ -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);
Signature · 1 line
2.43.0
[email protected]
AI reviewSashiko has reviewed this patch and found no issues. It looks great!
Quoted 7 lines
From: Frank Li <[email protected]>
Replace direct
dma_async_tx_descriptor->tx_submit()calls with the properdmaengine_submit()API wrapper.Assisted-by LLMSigned-off-by Frank Li <[email protected]>
Sashiko has reviewed this patch and found no issues. It looks great!
Signature · 1 line
Sashiko AI review · https://sashiko.dev/#/patchset/[email protected]?part=1
Quoted 2 lines · On Fri, Oct 02, 2026 at 04:09:23PM -0400, [email protected] wrote:
Replace direct
dma_async_tx_descriptor->tx_submit()calls with the properdmaengine_submit()API wrapper.
Reviewed-by Andy Shevchenko <[email protected]>
Signature · 2 lines
With Best Regards, Andy Shevchenko