diff options
author | Mohammed Shafi Shajakhan <mshajakhan@atheros.com> | 2010-12-15 02:32:46 -0500 |
---|---|---|
committer | John W. Linville <linville@tuxdriver.com> | 2010-12-15 17:04:07 -0500 |
commit | 2b7e6bce41b6b944bd4302cf0914e2a6f4bc704b (patch) | |
tree | e14eff4e0dedf6cca411b8d783e6eec9d4dace6b /drivers | |
parent | 64c6e50c0732b793e4bd5fd2954b7bef088f83f8 (diff) |
ath9k: Add comments for making pm-qos as modparam
PM-QOS value can be user specified via module parameter.
This patch adds few comments regarding this in the driver
code.
Signed-off-by: Mohammed Shafi Shajakhan <mshajakhan@atheros.com>
Signed-off-by: John W. Linville <linville@tuxdriver.com>
Diffstat (limited to 'drivers')
-rw-r--r-- | drivers/net/wireless/ath/ath9k/main.c | 4 |
1 files changed, 4 insertions, 0 deletions
diff --git a/drivers/net/wireless/ath/ath9k/main.c b/drivers/net/wireless/ath/ath9k/main.c index 36f4f5afe738..4d647169439c 100644 --- a/drivers/net/wireless/ath/ath9k/main.c +++ b/drivers/net/wireless/ath/ath9k/main.c | |||
@@ -1196,6 +1196,10 @@ static int ath9k_start(struct ieee80211_hw *hw) | |||
1196 | ath9k_btcoex_timer_resume(sc); | 1196 | ath9k_btcoex_timer_resume(sc); |
1197 | } | 1197 | } |
1198 | 1198 | ||
1199 | /* User has the option to provide pm-qos value as a module | ||
1200 | * parameter rather than using the default value of | ||
1201 | * 'ATH9K_PM_QOS_DEFAULT_VALUE'. | ||
1202 | */ | ||
1199 | pm_qos_update_request(&sc->pm_qos_req, ath9k_pm_qos_value); | 1203 | pm_qos_update_request(&sc->pm_qos_req, ath9k_pm_qos_value); |
1200 | 1204 | ||
1201 | if (ah->caps.pcie_lcr_extsync_en && common->bus_ops->extn_synch_en) | 1205 | if (ah->caps.pcie_lcr_extsync_en && common->bus_ops->extn_synch_en) |