summaryrefslogtreecommitdiffstats
path: root/drivers/net/wireless/ath/ath9k/ar9003_mci.c
diff options
context:
space:
mode:
authorSujith Manoharan2012-06-04 12:57:25 +0200
committerJohn W. Linville2012-06-06 21:20:24 +0200
commit83c7a52dcce256fc20cd43dbf6866e3e05f2bf71 (patch)
tree61e262259643aff08e529238c84a159edafea022 /drivers/net/wireless/ath/ath9k/ar9003_mci.c
parentath9k: Setup MCI interrupts properly (diff)
downloadkernel-qcow2-linux-83c7a52dcce256fc20cd43dbf6866e3e05f2bf71.tar.gz
kernel-qcow2-linux-83c7a52dcce256fc20cd43dbf6866e3e05f2bf71.tar.xz
kernel-qcow2-linux-83c7a52dcce256fc20cd43dbf6866e3e05f2bf71.zip
ath9k_hw: Fix AR_RTC_KEEP_AWAKE usage
The default value that is being programmed to AR_RTC_KEEP_AWAKE is 0x2, there is no need to program it manually in various functions. 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/ar9003_mci.c')
-rw-r--r--drivers/net/wireless/ath/ath9k/ar9003_mci.c1
1 files changed, 0 insertions, 1 deletions
diff --git a/drivers/net/wireless/ath/ath9k/ar9003_mci.c b/drivers/net/wireless/ath/ath9k/ar9003_mci.c
index ffbb180f91e1..9331d73f69aa 100644
--- a/drivers/net/wireless/ath/ath9k/ar9003_mci.c
+++ b/drivers/net/wireless/ath/ath9k/ar9003_mci.c
@@ -330,7 +330,6 @@ void ar9003_mci_set_full_sleep(struct ath_hw *ah)
}
mci->ready = false;
- REG_WRITE(ah, AR_RTC_KEEP_AWAKE, 0x2);
}
static void ar9003_mci_disable_interrupt(struct ath_hw *ah)