Title: [3951] trunk/drivers/serial/bfin_5xx.c: Fix bug[#3718] Should not wait for the TFI bit.
Revision
3951
Author
sonicz
Date
2007-11-28 02:56:52 -0600 (Wed, 28 Nov 2007)

Log Message

Fix bug[#3718] Should not wait for the TFI bit.
Just clear it when tx stop.

Diffstat

 bfin_5xx.c |    3 ---
 1 files changed, 3 deletions(-)

Modified Paths

Diff

Modified: trunk/drivers/serial/bfin_5xx.c (3950 => 3951)


--- trunk/drivers/serial/bfin_5xx.c	2007-11-28 08:45:44 UTC (rev 3950)
+++ trunk/drivers/serial/bfin_5xx.c	2007-11-28 08:56:52 UTC (rev 3951)
@@ -95,9 +95,6 @@
 	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);
_______________________________________________
Linux-kernel-commits mailing list
[email protected]
http://blackfin.uclinux.org/mailman/listinfo/linux-kernel-commits

Reply via email to