wil6210: protect against sporadic interrupt during suspend flow
authorMaya Erez <qca_merez@qca.qualcomm.com>
Wed, 5 Apr 2017 11:58:09 +0000 (14:58 +0300)
committerKalle Valo <kvalo@qca.qualcomm.com>
Thu, 13 Apr 2017 12:46:02 +0000 (15:46 +0300)
commita3839fbcf0351e8192429f1cc1c499799465737f
tree0b5b7d6c7c6b0e5f7eb53ab9b4bb6f300e14688d
parentb819447dfc4bd120c9d6cd8521252d544fce8fe7
wil6210: protect against sporadic interrupt during suspend flow

During the suspend flow, wil6210 HW can send sporadic interrupts,
while PCIe bus is not operational.
To prevent that, keep the interrupts disabled during the suspend
flow and re-enable them only after PCIe enablement in resume.

Signed-off-by: Maya Erez <qca_merez@qca.qualcomm.com>
Signed-off-by: Kalle Valo <kvalo@qca.qualcomm.com>
drivers/net/wireless/ath/wil6210/pm.c