diff options
author | Rajkumar Manoharan <rmanohar@qca.qualcomm.com> | 2012-06-04 16:28:25 +0530 |
---|---|---|
committer | John W. Linville <linville@tuxdriver.com> | 2012-06-06 15:20:28 -0400 |
commit | c8b6fbe1f1d38aa19882263d6b0c644269e94244 (patch) | |
tree | d86eacbc418843591fd2840b5688f5c80f306420 /drivers/net/wireless/ath/ath9k/ar9003_phy.c | |
parent | 9dc08eceb7491331e81acde625e0d9c82aa86a16 (diff) | |
download | talos-obmc-linux-c8b6fbe1f1d38aa19882263d6b0c644269e94244.tar.gz talos-obmc-linux-c8b6fbe1f1d38aa19882263d6b0c644269e94244.zip |
ath9k_hw: configure ar9462 switching regulator
Enable WLAN and BT mode for switching regulator discontinuous
orverride for AR9462 chips.
Signed-off-by: Rajkumar Manoharan <rmanohar@qca.qualcomm.com>
Signed-off-by: John W. Linville <linville@tuxdriver.com>
Diffstat (limited to 'drivers/net/wireless/ath/ath9k/ar9003_phy.c')
-rw-r--r-- | drivers/net/wireless/ath/ath9k/ar9003_phy.c | 4 |
1 files changed, 4 insertions, 0 deletions
diff --git a/drivers/net/wireless/ath/ath9k/ar9003_phy.c b/drivers/net/wireless/ath/ath9k/ar9003_phy.c index 11abb972be1f..d6baf69cdc14 100644 --- a/drivers/net/wireless/ath/ath9k/ar9003_phy.c +++ b/drivers/net/wireless/ath/ath9k/ar9003_phy.c @@ -676,6 +676,10 @@ static int ar9003_hw_process_ini(struct ath_hw *ah, if (chan->channel == 2484) ar9003_hw_prog_ini(ah, &ah->ini_japan2484, 1); + if (AR_SREV_9462(ah)) + REG_WRITE(ah, AR_GLB_SWREG_DISCONT_MODE, + AR_GLB_SWREG_DISCONT_EN_BT_WLAN); + ah->modes_index = modesIndex; ar9003_hw_override_ini(ah); ar9003_hw_set_channel_regs(ah, chan); |