aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorLuis R. Rodriguez <lrodriguez@atheros.com>2010-04-15 17:38:15 -0400
committerJohn W. Linville <linville@tuxdriver.com>2010-04-16 15:43:19 -0400
commite041228fed0c9fe8b5c3b8e0ca66b08178b26a87 (patch)
tree87e02fdbdb26f6388cf5aea26c7decb60544c82b
parent8fe6536850ae49609704a263cbc7542133536922 (diff)
ath9k_hw: skip PLL initialization on AR9003 on Power-On-Reset
This is not required for the AR9003 family. Signed-off-by: Luis R. Rodriguez <lrodriguez@atheros.com> Signed-off-by: John W. Linville <linville@tuxdriver.com>
-rw-r--r--drivers/net/wireless/ath/ath9k/hw.c3
1 files changed, 2 insertions, 1 deletions
diff --git a/drivers/net/wireless/ath/ath9k/hw.c b/drivers/net/wireless/ath/ath9k/hw.c
index 2ab061381fcf..f1405042a48d 100644
--- a/drivers/net/wireless/ath/ath9k/hw.c
+++ b/drivers/net/wireless/ath/ath9k/hw.c
@@ -2064,7 +2064,8 @@ static bool ath9k_hw_set_power_awake(struct ath_hw *ah, int setChip)
2064 ATH9K_RESET_POWER_ON) != true) { 2064 ATH9K_RESET_POWER_ON) != true) {
2065 return false; 2065 return false;
2066 } 2066 }
2067 ath9k_hw_init_pll(ah, NULL); 2067 if (!AR_SREV_9300_20_OR_LATER(ah))
2068 ath9k_hw_init_pll(ah, NULL);
2068 } 2069 }
2069 if (AR_SREV_9100(ah)) 2070 if (AR_SREV_9100(ah))
2070 REG_SET_BIT(ah, AR_RTC_RESET, 2071 REG_SET_BIT(ah, AR_RTC_RESET,