Browse Source

[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>
Sonic Zhang 17 years ago
parent
commit
4c195ad88b
1 changed files with 0 additions and 3 deletions
  1. 0 3
      drivers/serial/bfin_5xx.c

+ 0 - 3
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);