diff options
author | Luis R. Rodriguez <lrodriguez@atheros.com> | 2010-06-12 00:33:47 -0400 |
---|---|---|
committer | John W. Linville <linville@tuxdriver.com> | 2010-06-14 15:39:30 -0400 |
commit | 644c78c95a9b0e3ed2728bc3995cde24b6f0cf2e (patch) | |
tree | f0a96d7a443535a7201659c26d41ec4a5b65d06d /drivers | |
parent | 03c725183bfa1328995f28e0d0e9c49e1e6ae730 (diff) |
ath9k_hw: reduce delay on programming INI on AR9003
All AR9003 devices are PCI-E only, the extra delay here
is not required and only reduces the delay for loading
the initial register values by at least 14ms.
Signed-off-by: Luis R. Rodriguez <lrodriguez@atheros.com>
Signed-off-by: John W. Linville <linville@tuxdriver.com>
Diffstat (limited to 'drivers')
-rw-r--r-- | drivers/net/wireless/ath/ath9k/ar9003_phy.c | 9 |
1 files changed, 0 insertions, 9 deletions
diff --git a/drivers/net/wireless/ath/ath9k/ar9003_phy.c b/drivers/net/wireless/ath/ath9k/ar9003_phy.c index bababbe1edea..19bc05c41136 100644 --- a/drivers/net/wireless/ath/ath9k/ar9003_phy.c +++ b/drivers/net/wireless/ath/ath9k/ar9003_phy.c | |||
@@ -543,15 +543,6 @@ static void ar9003_hw_prog_ini(struct ath_hw *ah, | |||
543 | u32 val = INI_RA(iniArr, i, column); | 543 | u32 val = INI_RA(iniArr, i, column); |
544 | 544 | ||
545 | REG_WRITE(ah, reg, val); | 545 | REG_WRITE(ah, reg, val); |
546 | |||
547 | /* | ||
548 | * Determine if this is a shift register value, and insert the | ||
549 | * configured delay if so. | ||
550 | */ | ||
551 | if (reg >= 0x16000 && reg < 0x17000 | ||
552 | && ah->config.analog_shiftreg) | ||
553 | udelay(100); | ||
554 | |||
555 | DO_DELAY(regWrites); | 546 | DO_DELAY(regWrites); |
556 | } | 547 | } |
557 | } | 548 | } |