Commit 4c195ad8 authored by Sonic Zhang's avatar Sonic Zhang Committed by Bryan Wu

[Blackfin] serial driver: fix bug - should not wait for the TFI bit, just clear it when tx stop.

Signed-off-by: default avatarSonic Zhang <sonic.zhang@analog.com>
Signed-off-by: default avatarBryan Wu <bryan.wu@analog.com>
parent 99ee7b5f
......@@ -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);
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment