]> git.kernelconcepts.de Git - karo-tx-uboot.git/commitdiff
one millisecond is a thousand microseconds
authorLothar Waßmann <LW@KARO-electronics.de>
Mon, 24 Jun 2013 08:58:12 +0000 (10:58 +0200)
committerLothar Waßmann <LW@KARO-electronics.de>
Mon, 24 Jun 2013 08:58:12 +0000 (10:58 +0200)
drivers/net/cpsw.c

index b45c8c608b703d463e154091ea9c7f3ebb80ba83..25533db6baad22e1dbab4805ac9104d4def278c7 100644 (file)
@@ -456,7 +456,7 @@ static inline u32 wait_for_user_access(void)
        u32 reg;
 
        while ((reg = __raw_readl(&mdio_regs->user[0].access)) & USERACCESS_GO) {
-               udelay(1);
+               udelay(1000);
                if (--timeout <= 0) {
                        printf("TIMEOUT waiting for USERACCESS_GO\n");
                        return -1;
@@ -476,7 +476,7 @@ static inline void wait_for_idle(void)
                        printf("TIMEOUT waiting for state machine idle\n");
                        break;
                }
-               udelay(1);
+               udelay(1000);
        }
 }