summaryrefslogtreecommitdiffstats
path: root/drivers/net/wireless/ath
diff options
context:
space:
mode:
authorSujith Manoharan <c_manoha@qualcomm.com>2012-09-10 09:20:29 +0530
committerJohn W. Linville <linville@tuxdriver.com>2012-09-11 15:31:41 -0400
commit8565f8bf478e28a416e2816d906a84e323e5629c (patch)
tree59fa3220bac433479287fe544e8f1efc40623f5b /drivers/net/wireless/ath
parentd43d04a9e10f743c601fca8d9a019798ea7ce866 (diff)
downloadop-kernel-dev-8565f8bf478e28a416e2816d906a84e323e5629c.zip
op-kernel-dev-8565f8bf478e28a416e2816d906a84e323e5629c.tar.gz
ath9k_hw: Program correct PLL value for AR9565
Signed-off-by: Sujith Manoharan <c_manoha@qca.qualcomm.com> Signed-off-by: John W. Linville <linville@tuxdriver.com>
Diffstat (limited to 'drivers/net/wireless/ath')
-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 063d724..47de1a9 100644
--- a/drivers/net/wireless/ath/ath9k/hw.c
+++ b/drivers/net/wireless/ath/ath9k/hw.c
@@ -918,7 +918,8 @@ static void ath9k_hw_init_pll(struct ath_hw *ah,
}
pll = ath9k_hw_compute_pll_control(ah, chan);
-
+ if (AR_SREV_9565(ah))
+ pll |= 0x40000;
REG_WRITE(ah, AR_RTC_PLL_CONTROL, pll);
if (AR_SREV_9485(ah) || AR_SREV_9340(ah) || AR_SREV_9330(ah) ||
OpenPOWER on IntegriCloud