Title: [4101] trunk/drivers/net/bfin_mac.c: [#3771] shorten the delay in mdio_poll function, the cost of mdio_poll will be less than 0. 01% in Linphone application profiling
Revision
4101
Author
cooloney
Date
2008-01-15 20:44:56 -0600 (Tue, 15 Jan 2008)

Log Message

[#3771] shorten the delay in mdio_poll function, the cost of mdio_poll will be less than 0.01% in Linphone application profiling

Diffstat

 bfin_mac.c |    2 +-
 1 files changed, 1 insertion(+), 1 deletion(-)

Modified Paths

Diff

Modified: trunk/drivers/net/bfin_mac.c (4100 => 4101)


--- trunk/drivers/net/bfin_mac.c	2008-01-15 21:54:26 UTC (rev 4100)
+++ trunk/drivers/net/bfin_mac.c	2008-01-16 02:44:56 UTC (rev 4101)
@@ -278,7 +278,7 @@
 
 	/* poll the STABUSY bit */
 	while ((bfin_read_EMAC_STAADD()) & STABUSY) {
-		mdelay(1);
+		udelay(1);
 		if (timeout_cnt-- < 0) {
 			printk(KERN_ERR DRV_NAME
 			": wait MDC/MDIO transaction to complete timeout\n");
_______________________________________________
Linux-kernel-commits mailing list
[email protected]
http://blackfin.uclinux.org/mailman/listinfo/linux-kernel-commits

Reply via email to