mirror of
https://github.com/adulau/aha.git
synced 2025-01-01 21:53:18 +00:00
[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>
This commit is contained in:
parent
99ee7b5f3a
commit
4c195ad88b
1 changed files with 0 additions and 3 deletions
|
@ -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);
|
||||
|
|
Loading…
Reference in a new issue