mirror of
https://github.com/torvalds/linux.git
synced 2026-11-07 06:17:02 +01:00
tty: serial: pch_uart: use dmaengine_submit() instead of ->tx_submit()
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> Reviewed-by: Andy Shevchenko <andriy.shevchenko@linux.intel.com> Link: https://patch.msgid.link/20261002200927.236033-1-Frank.Li@oss.nxp.com Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
This commit is contained in:
parent
8bb50e95c0
commit
408001136b
|
|
@ -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);
|
||||
|
||||
|
|
|
|||
Loading…
Reference in New Issue
Block a user