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 3e2c738 commit 3953e7fCopy full SHA for 3953e7f
drivers/tty/serial/fsl_lpuart.c
@@ -1776,6 +1776,7 @@ static void lpuart_dma_shutdown(struct lpuart_port *sport)
1776
if (sport->lpuart_dma_rx_use) {
1777
del_timer_sync(&sport->lpuart_timer);
1778
lpuart_dma_rx_free(&sport->port);
1779
+ sport->lpuart_dma_rx_use = false;
1780
}
1781
1782
if (sport->lpuart_dma_tx_use) {
@@ -1784,6 +1785,7 @@ static void lpuart_dma_shutdown(struct lpuart_port *sport)
1784
1785
sport->dma_tx_in_progress = false;
1786
dmaengine_terminate_all(sport->dma_tx_chan);
1787
1788
+ sport->lpuart_dma_tx_use = false;
1789
1790
1791
if (sport->dma_tx_chan)
0 commit comments