summaryrefslogtreecommitdiffstats
path: root/drivers/net/wireless/ath/ath9k/hw.c
diff options
context:
space:
mode:
authorRajkumar Manoharan <rmanohar@qti.qualcomm.com>2014-06-24 22:27:40 +0530
committerJohn W. Linville <linville@tuxdriver.com>2014-06-25 15:40:39 -0400
commit76ac9ed6ffb32eb38d2f208204159ae0cd3394b6 (patch)
treed3dc99baa0d2aec261691bed0603cafc439e6f63 /drivers/net/wireless/ath/ath9k/hw.c
parentaf2db444855a574cb58db1f5f6b7a53f2c0fefda (diff)
downloadblackbird-obmc-linux-76ac9ed6ffb32eb38d2f208204159ae0cd3394b6.tar.gz
blackbird-obmc-linux-76ac9ed6ffb32eb38d2f208204159ae0cd3394b6.zip
ath9k_hw: Fix pll2_divfrac for AR953x
Signed-off-by: Rajkumar Manoharan <rmanohar@qti.qualcomm.com> Signed-off-by: John W. Linville <linville@tuxdriver.com>
Diffstat (limited to 'drivers/net/wireless/ath/ath9k/hw.c')
-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 ace4fe2740d4..fd0158fdf144 100644
--- a/drivers/net/wireless/ath/ath9k/hw.c
+++ b/drivers/net/wireless/ath/ath9k/hw.c
@@ -791,7 +791,8 @@ static void ath9k_hw_init_pll(struct ath_hw *ah,
refdiv = 5;
} else {
pll2_divint = 0x11;
- pll2_divfrac = 0x26666;
+ pll2_divfrac =
+ AR_SREV_9531(ah) ? 0x26665 : 0x26666;
refdiv = 1;
}
}
OpenPOWER on IntegriCloud