projects
/
openwrt
/
staging
/
blogic.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
062caf4
)
[PATCH] bcm43xx: lower mac_suspend udelay
author
Michael Buesch
<mb@bu3sch.de>
Tue, 27 Jun 2006 15:56:44 +0000
(17:56 +0200)
committer
John W. Linville
<linville@tuxdriver.com>
Thu, 27 Jul 2006 22:19:10 +0000
(18:19 -0400)
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>
drivers/net/wireless/bcm43xx/bcm43xx_main.c
patch
|
blob
|
history
diff --git
a/drivers/net/wireless/bcm43xx/bcm43xx_main.c
b/drivers/net/wireless/bcm43xx/bcm43xx_main.c
index 1af330d496fc966e618fe9249fbbe6dc7a0b401f..acf567c2e220abfe620294ea894432625374708e 100644
(file)
--- 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)
tmp = bcm43xx_read32(bcm, BCM43xx_MMIO_GEN_IRQ_REASON);
if (tmp & BCM43xx_IRQ_READY)
goto out;
- udelay(1
0
);
+ udelay(1);
}
printkl(KERN_ERR PFX "MAC suspend failed\n");
}