diff options
author | Sonic Zhang <sonic.zhang@analog.com> | 2007-12-23 10:18:08 -0500 |
---|---|---|
committer | Bryan Wu <cooloney@kernel.org> | 2007-12-23 10:18:08 -0500 |
commit | 4c195ad88b7df54b2e7340dec3446aee6ca84cd1 (patch) | |
tree | e54d26b46f87e29edc844b73374a41b11dad4fed /drivers | |
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')
-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) | |||
95 | disable_dma(uart->tx_dma_channel); | 95 | disable_dma(uart->tx_dma_channel); |
96 | #else | 96 | #else |
97 | #ifdef CONFIG_BF54x | 97 | #ifdef CONFIG_BF54x |
98 | /* Waiting for Transmission Finished */ | ||
99 | while (!(UART_GET_LSR(uart) & TFI)) | ||
100 | continue; | ||
101 | /* Clear TFI bit */ | 98 | /* Clear TFI bit */ |
102 | UART_PUT_LSR(uart, TFI); | 99 | UART_PUT_LSR(uart, TFI); |
103 | UART_CLEAR_IER(uart, ETBEI); | 100 | UART_CLEAR_IER(uart, ETBEI); |