ath10k: fix pm resume after suspend
authorBartosz Markowski <bartosz.markowski@tieto.com>
Fri, 31 Oct 2014 08:03:43 +0000 (09:03 +0100)
committerKalle Valo <kvalo@qca.qualcomm.com>
Mon, 3 Nov 2014 23:04:13 +0000 (01:04 +0200)
commit707b1bbd7e6ec533cfa027054ccbeb90113a40b0
tree647f8a040e2bb12175b3bdf95fe1e742d913eb74
parentaa292fa4093d7afab513fee77e3f78229968b931
ath10k: fix pm resume after suspend

Firmware was crashing when we were trying to warm reset it
after suspend. This was due to the fact that target registeres
can be accessed only if the hardware is awaken.

This patch makes sure to awake the device also on the hif up,
not only in case of probe call.

Signed-off-by: Bartosz Markowski <bartosz.markowski@tieto.com>
Signed-off-by: Kalle Valo <kvalo@qca.qualcomm.com>
drivers/net/wireless/ath/ath10k/pci.c