]> git.karo-electronics.de Git - linux-beck.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)
commit76d870ed09ab34154454b1adb823ae75f173c2d2
tree6827c468da7b79d213f171f5ac603e7b8673f196
parent80714b09bc574c5b23e50264e76e6e0f78d23549
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