From: Rajkumar Manoharan Date: Tue, 24 Jun 2014 16:57:40 +0000 (+0530) Subject: ath9k_hw: Fix pll2_divfrac for AR953x X-Git-Url: https://git.stricted.de/?a=commitdiff_plain;h=76ac9ed6ffb32eb38d2f208204159ae0cd3394b6;p=GitHub%2Fexynos8895%2Fandroid_kernel_samsung_universal8895.git ath9k_hw: Fix pll2_divfrac for AR953x Signed-off-by: Rajkumar Manoharan Signed-off-by: John W. Linville --- 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; } }