ath10k: remove target soc ps code
authorMichal Kazior <michal.kazior@tieto.com>
Thu, 7 Aug 2014 09:03:28 +0000 (11:03 +0200)
committerKalle Valo <kvalo@qca.qualcomm.com>
Tue, 12 Aug 2014 07:54:05 +0000 (10:54 +0300)
commitc0c378f9907c9e52aa95a87ac4622039a84bac99
treec4fb2e116f92640c59f6dd9da6175db9122cdeab
parente7b541948b7ae542267257a6183341f6a92ed1b8
ath10k: remove target soc ps code

The soc powersave was disabled by default. It
never was fully tested. Some hw apparently had
problems with it and the implementation itself had
a possible race.

Just remove the refcounting and simply wake up the
device when probing and put to sleep when
removing.

kvalo: make ath10k_pci_wake() and _sleep() static

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