We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 039d492 commit 316ae95Copy full SHA for 316ae95
drivers/tty/serial/fsl_lpuart.c
@@ -1771,6 +1771,7 @@ static void lpuart_dma_shutdown(struct lpuart_port *sport)
1771
if (sport->lpuart_dma_rx_use) {
1772
del_timer_sync(&sport->lpuart_timer);
1773
lpuart_dma_rx_free(&sport->port);
1774
+ sport->lpuart_dma_rx_use = false;
1775
}
1776
1777
if (sport->lpuart_dma_tx_use) {
@@ -1779,6 +1780,7 @@ static void lpuart_dma_shutdown(struct lpuart_port *sport)
1779
1780
sport->dma_tx_in_progress = false;
1781
dmaengine_terminate_all(sport->dma_tx_chan);
1782
1783
+ sport->lpuart_dma_tx_use = false;
1784
1785
1786
if (sport->dma_tx_chan)
0 commit comments