Author: blogic
Date: 2014-12-07 17:53:15 +0100 (Sun, 07 Dec 2014)
New Revision: 43540

Modified:
   trunk/target/linux/ar71xx/files/arch/mips/ath79/dev-eth.c
Log:
ar71xx: dev-eth: replace mdelay calls

Similar to patch 2. Replace further mdelay calls.

Signed-off-by: Heiner Kallweit <[email protected]>

Modified: trunk/target/linux/ar71xx/files/arch/mips/ath79/dev-eth.c
===================================================================
--- trunk/target/linux/ar71xx/files/arch/mips/ath79/dev-eth.c   2014-12-07 
16:53:09 UTC (rev 43539)
+++ trunk/target/linux/ar71xx/files/arch/mips/ath79/dev-eth.c   2014-12-07 
16:53:15 UTC (rev 43540)
@@ -1113,10 +1113,10 @@
 
        /* Reset the device */
        ath79_device_reset_set(pdata->reset_bit);
-       mdelay(100);
+       msleep(100);
 
        ath79_device_reset_clear(pdata->reset_bit);
-       mdelay(100);
+       msleep(100);
 
        platform_device_register(pdev);
        ath79_eth_instance++;
_______________________________________________
openwrt-commits mailing list
[email protected]
https://lists.openwrt.org/cgi-bin/mailman/listinfo/openwrt-commits

Reply via email to