]> www.pilppa.org Git - linux-2.6-omap-h63xx.git/commitdiff
[Blackfin] serial driver: fix bug - should not wait for the TFI bit, just clear it...
authorSonic Zhang <sonic.zhang@analog.com>
Sun, 23 Dec 2007 15:18:08 +0000 (23:18 +0800)
committerBryan Wu <cooloney@kernel.org>
Sun, 23 Dec 2007 15:18:08 +0000 (23:18 +0800)
Signed-off-by: Sonic Zhang <sonic.zhang@analog.com>
Signed-off-by: Bryan Wu <bryan.wu@analog.com>
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);