diff options
author | Miaoqing Pan <miaoqing@qca.qualcomm.com> | 2014-11-06 08:22:23 +0300 |
---|---|---|
committer | John W. Linville <linville@tuxdriver.com> | 2014-11-12 00:24:18 +0300 |
commit | 4e6ce4dc7ce71d0886908d55129d5d6482a27ff9 (patch) | |
tree | 6f6dbb1181866103987a897801bb615223900072 /drivers/net/wireless/ath/ath9k/common.c | |
parent | 0cd75b19899fd86b51a6480fb8c00dcd85a54591 (diff) | |
download | linux-4e6ce4dc7ce71d0886908d55129d5d6482a27ff9.tar.xz |
ath9k: Fix RTC_DERIVED_CLK usage
Based on the reference clock, which could be 25MHz or 40MHz,
AR_RTC_DERIVED_CLK is programmed differently for AR9340 and AR9550.
But, when a chip reset is done, processing the initvals
sets the register back to the default value.
Fix this by moving the code in ath9k_hw_init_pll() to
ar9003_hw_override_ini(). Also, do this override for AR9531.
Cc: stable@vger.kernel.org
Signed-off-by: Miaoqing Pan <miaoqing@qca.qualcomm.com>
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/ath9k/common.c')
0 files changed, 0 insertions, 0 deletions