Skip to content

Commit

Permalink
[PATCH] bcm43xx: lower mac_suspend udelay
Browse files Browse the repository at this point in the history
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>
  • Loading branch information
Michael Buesch authored and John W. Linville committed Jul 27, 2006
1 parent 062caf4 commit b8e7cdb
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion drivers/net/wireless/bcm43xx/bcm43xx_main.c
Original file line number Diff line number Diff line change
Expand Up @@ -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(10);
udelay(1);
}
printkl(KERN_ERR PFX "MAC suspend failed\n");
}
Expand Down

0 comments on commit b8e7cdb

Please sign in to comment.