diff options
author | Michael Buesch <mb@bu3sch.de> | 2006-06-27 11:56:44 -0400 |
---|---|---|
committer | John W. Linville <linville@tuxdriver.com> | 2006-07-27 18:19:10 -0400 |
commit | b8e7cdb391c50cfc243a387b6690f5a251537e50 (patch) | |
tree | 442cd915aab1629ae64005780a61463122f67d8c /drivers/net/wireless | |
parent | 062caf43d803771b660defe6b147711d8b730364 (diff) |
[PATCH] bcm43xx: lower mac_suspend udelay
Microoptimization:
This reduces the udelay in bcm43xx_mac_suspend.
Signed-off-by: Michael Buesch <mb@bu3sch.de>
Signed-off-by: John W. Linville <linville@tuxdriver.com>
Diffstat (limited to 'drivers/net/wireless')
-rw-r--r-- | drivers/net/wireless/bcm43xx/bcm43xx_main.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/drivers/net/wireless/bcm43xx/bcm43xx_main.c b/drivers/net/wireless/bcm43xx/bcm43xx_main.c index 1af330d496fc..acf567c2e220 100644 --- a/drivers/net/wireless/bcm43xx/bcm43xx_main.c +++ b/drivers/net/wireless/bcm43xx/bcm43xx_main.c | |||
@@ -2328,7 +2328,7 @@ void bcm43xx_mac_suspend(struct bcm43xx_private *bcm) | |||
2328 | tmp = bcm43xx_read32(bcm, BCM43xx_MMIO_GEN_IRQ_REASON); | 2328 | tmp = bcm43xx_read32(bcm, BCM43xx_MMIO_GEN_IRQ_REASON); |
2329 | if (tmp & BCM43xx_IRQ_READY) | 2329 | if (tmp & BCM43xx_IRQ_READY) |
2330 | goto out; | 2330 | goto out; |
2331 | udelay(10); | 2331 | udelay(1); |
2332 | } | 2332 | } |
2333 | printkl(KERN_ERR PFX "MAC suspend failed\n"); | 2333 | printkl(KERN_ERR PFX "MAC suspend failed\n"); |
2334 | } | 2334 | } |