mirror of
https://github.com/AuxXxilium/linux_dsm_epyc7002.git
synced 2024-11-26 15:40:53 +07: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
@ -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 New Issue
Block a user