summaryrefslogtreecommitdiffstats
path: root/drivers/serial/bfin_5xx.c
diff options
context:
space:
mode:
authorSonic Zhang <sonic.zhang@analog.com>2007-12-23 23:18:08 +0800
committerBryan Wu <cooloney@kernel.org>2007-12-23 23:18:08 +0800
commit4c195ad88b7df54b2e7340dec3446aee6ca84cd1 (patch)
treee54d26b46f87e29edc844b73374a41b11dad4fed /drivers/serial/bfin_5xx.c
parent99ee7b5f3a68324807650f650f2613bbe281627f (diff)
downloadblackbird-op-linux-4c195ad88b7df54b2e7340dec3446aee6ca84cd1.tar.gz
blackbird-op-linux-4c195ad88b7df54b2e7340dec3446aee6ca84cd1.zip
[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.c3
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);
OpenPOWER on IntegriCloud