]> git.baikalelectronics.ru Git - kernel.git/commit
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)
commitd7ef714d4cd1615a3c7199f5a43fe93230818ac3
tree647f8a040e2bb12175b3bdf95fe1e742d913eb74
parent956a9954a34c8e9cea2a6bb84cc6134a5f165d0d
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