OSDN Git Service

ath9k: Check allowed PCIE powersave configuration
authorSujith Manoharan <c_manoha@qca.qualcomm.com>
Mon, 9 Mar 2015 08:50:09 +0000 (14:20 +0530)
committerKalle Valo <kvalo@codeaurora.org>
Fri, 13 Mar 2015 13:19:34 +0000 (15:19 +0200)
commit93f7d6f3d5aa86bc9cce38a1d7eb71524ac85e0b
tree1608c807d08c5e5914e382521369a2e3aaecf3ed
parent656cd75c387383fe3a63e21204107abf5515ecfc
ath9k: Check allowed PCIE powersave configuration

When assigning the initvals for PCIE sleep/awake
registers, check the configuration that has been
assigned to pll_pwrsave during initialization. Also,
display a warning if we don't have valid arrays.

Signed-off-by: Sujith Manoharan <c_manoha@qca.qualcomm.com>
Signed-off-by: Kalle Valo <kvalo@codeaurora.org>
drivers/net/wireless/ath/ath9k/ar9003_hw.c