]> git.baikalelectronics.ru Git - kernel.git/commit
ath10k: enable ASPM
authorJanusz Dziedzic <janusz.dziedzic@tieto.com>
Mon, 18 May 2015 09:38:16 +0000 (09:38 +0000)
committerKalle Valo <kvalo@qca.qualcomm.com>
Fri, 22 May 2015 10:39:15 +0000 (13:39 +0300)
commit7716ed6ab8ff8a6f3cb0599dfa09237dc728d8f8
tree6827c468da7b79d213f171f5ac603e7b8673f196
parenteee389ca391ee6d7255057f40253b553dee298e7
ath10k: enable ASPM

It is actually safe to enable ASPM after the
device is booted up.

This reduces power drain of QCA61X4 when driver is
simply loaded (no interface is up) from 31mA to
14mA. QCA988X wasn't measured but doesn't seem to
regress in any other way.

Signed-off-by: Janusz Dziedzic <janusz.dziedzic@tieto.com>
Signed-off-by: Michal Kazior <michal.kazior@tieto.com>
Signed-off-by: Kalle Valo <kvalo@qca.qualcomm.com>
drivers/net/wireless/ath/ath10k/pci.c
drivers/net/wireless/ath/ath10k/pci.h