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 97e7971 commit d554c14Copy full SHA for d554c14
drivers/tty/serial/fsl_lpuart.c
@@ -1768,6 +1768,7 @@ static void lpuart_dma_shutdown(struct lpuart_port *sport)
1768
if (sport->lpuart_dma_rx_use) {
1769
del_timer_sync(&sport->lpuart_timer);
1770
lpuart_dma_rx_free(&sport->port);
1771
+ sport->lpuart_dma_rx_use = false;
1772
}
1773
1774
if (sport->lpuart_dma_tx_use) {
@@ -1776,6 +1777,7 @@ static void lpuart_dma_shutdown(struct lpuart_port *sport)
1776
1777
sport->dma_tx_in_progress = false;
1778
dmaengine_terminate_all(sport->dma_tx_chan);
1779
1780
+ sport->lpuart_dma_tx_use = false;
1781
1782
1783
if (sport->dma_tx_chan)
0 commit comments