Donate to e Foundation | Murena handsets with /e/OS | Own a part of Murena! Learn more

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

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

parent 99ee7b5f
Loading
Loading
Loading
Loading
+0 −3
Original line number Diff line number Diff line
@@ -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);