Commit b8e7cdb3 authored by Michael Buesch's avatar Michael Buesch Committed by John W. Linville

[PATCH] bcm43xx: lower mac_suspend udelay

Microoptimization:
This reduces the udelay in bcm43xx_mac_suspend.
Signed-off-by: default avatarMichael Buesch <mb@bu3sch.de>
Signed-off-by: default avatarJohn W. Linville <linville@tuxdriver.com>
parent 062caf43
...@@ -2328,7 +2328,7 @@ void bcm43xx_mac_suspend(struct bcm43xx_private *bcm) ...@@ -2328,7 +2328,7 @@ void bcm43xx_mac_suspend(struct bcm43xx_private *bcm)
tmp = bcm43xx_read32(bcm, BCM43xx_MMIO_GEN_IRQ_REASON); tmp = bcm43xx_read32(bcm, BCM43xx_MMIO_GEN_IRQ_REASON);
if (tmp & BCM43xx_IRQ_READY) if (tmp & BCM43xx_IRQ_READY)
goto out; goto out;
udelay(10); udelay(1);
} }
printkl(KERN_ERR PFX "MAC suspend failed\n"); printkl(KERN_ERR PFX "MAC suspend failed\n");
} }
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment