diff options
author | Sonic Zhang <sonic.zhang@analog.com> | 2007-12-23 23:18:08 +0800 |
---|---|---|
committer | Bryan Wu <cooloney@kernel.org> | 2007-12-23 23:18:08 +0800 |
commit | 4c195ad88b7df54b2e7340dec3446aee6ca84cd1 (patch) | |
tree | e54d26b46f87e29edc844b73374a41b11dad4fed /drivers/serial/bfin_5xx.c | |
parent | 99ee7b5f3a68324807650f650f2613bbe281627f (diff) |
[Blackfin] serial driver: fix bug - should not wait for the TFI bit, just clear it when tx stop.
Signed-off-by: Sonic Zhang <sonic.zhang@analog.com>
Signed-off-by: Bryan Wu <bryan.wu@analog.com>
Diffstat (limited to 'drivers/serial/bfin_5xx.c')
-rw-r--r-- | drivers/serial/bfin_5xx.c | 3 |
1 files changed, 0 insertions, 3 deletions
diff --git a/drivers/serial/bfin_5xx.c b/drivers/serial/bfin_5xx.c index 007414639e32..ca9ceaa113a2 100644 --- a/drivers/serial/bfin_5xx.c +++ b/drivers/serial/bfin_5xx.c @@ -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); |