]> pilppa.org Git - linux-2.6-omap-h63xx.git/blobdiff - drivers/serial/bfin_5xx.c
[Blackfin] serial driver: fix bug - should not wait for the TFI bit, just clear it...
[linux-2.6-omap-h63xx.git] / drivers / serial / bfin_5xx.c
index 007414639e32dbdc34a1331f0856091b8b5bc577..ca9ceaa113a24b3d685e67c5da1c8bb2bfaf3f77 100644 (file)
@@ -95,9 +95,6 @@ static void bfin_serial_stop_tx(struct uart_port *port)
        disable_dma(uart->tx_dma_channel);
 #else
 #ifdef CONFIG_BF54x
-       /* Waiting for Transmission Finished */
-       while (!(UART_GET_LSR(uart) & TFI))
-               continue;
        /* Clear TFI bit */
        UART_PUT_LSR(uart, TFI);
        UART_CLEAR_IER(uart, ETBEI);