diff options
author | Nick Kossifidis <mickflemm@gmail.com> | 2011-11-25 20:40:24 +0200 |
---|---|---|
committer | John W. Linville <linville@tuxdriver.com> | 2011-11-28 14:44:15 -0500 |
commit | 1846ac3dbec0894095520b2756b68c4fd81e3fbb (patch) | |
tree | a4e5215b05ded63d3ee516d03312c30243d05b4f /drivers/net/wireless/ath/ath5k/attach.c | |
parent | ce169aca0d823d38465127023e3d571816e6666c (diff) | |
download | talos-op-linux-1846ac3dbec0894095520b2756b68c4fd81e3fbb.tar.gz talos-op-linux-1846ac3dbec0894095520b2756b68c4fd81e3fbb.zip |
ath5k: Use usleep_range where possible
Use usleep_range where possible to reduce busy waits
Signed-off-by: Nick Kossifidis <mickflemm@gmail.com>
Signed-off-by: John W. Linville <linville@tuxdriver.com>
Diffstat (limited to 'drivers/net/wireless/ath/ath5k/attach.c')
-rw-r--r-- | drivers/net/wireless/ath/ath5k/attach.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/drivers/net/wireless/ath/ath5k/attach.c b/drivers/net/wireless/ath/ath5k/attach.c index 91627dd2c26a..49fdc9333aa8 100644 --- a/drivers/net/wireless/ath/ath5k/attach.c +++ b/drivers/net/wireless/ath/ath5k/attach.c @@ -298,7 +298,7 @@ int ath5k_hw_init(struct ath5k_hw *ah) /* Reset SERDES to load new settings */ ath5k_hw_reg_write(ah, 0x00000000, AR5K_PCIE_SERDES_RESET); - mdelay(1); + usleep_range(1000, 1500); } /* Get misc capabilities */ |