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 a91a3c2 commit c4293deCopy full SHA for c4293de
drivers/tty/serial/fsl_lpuart.c
@@ -1787,6 +1787,7 @@ static void lpuart_dma_shutdown(struct lpuart_port *sport)
1787
if (sport->lpuart_dma_rx_use) {
1788
del_timer_sync(&sport->lpuart_timer);
1789
lpuart_dma_rx_free(&sport->port);
1790
+ sport->lpuart_dma_rx_use = false;
1791
}
1792
1793
if (sport->lpuart_dma_tx_use) {
@@ -1795,6 +1796,7 @@ static void lpuart_dma_shutdown(struct lpuart_port *sport)
1795
1796
sport->dma_tx_in_progress = false;
1797
dmaengine_terminate_all(sport->dma_tx_chan);
1798
1799
+ sport->lpuart_dma_tx_use = false;
1800
1801
1802
if (sport->dma_tx_chan)
0 commit comments