]> git.kernelconcepts.de Git - karo-tx-linux.git/blobdiff - drivers/tty/serial/imx.c
ENGR00169433 IMX/UART : fix a bug in UART RX
[karo-tx-linux.git] / drivers / tty / serial / imx.c
index b9e169417c7b7a173981fff7a0ca358b35188b06..f31fa1e16ca7c3400dfedfc715c46b8ffbc51785 100644 (file)
@@ -741,7 +741,9 @@ static void dma_rx_work(struct work_struct *w)
                tty_flip_buffer_push(tty);
                sport->rx_bytes = 0;
        }
-       start_rx_dma(sport);
+
+       if (sport->dma_is_rxing)
+               start_rx_dma(sport);
 }
 
 /*