wil6210: clear PAL_UNIT_ICR part of device reset
authorDedy Lansky <qca_dlansky@qca.qualcomm.com>
Mon, 28 Aug 2017 19:18:45 +0000 (22:18 +0300)
committerKalle Valo <kvalo@qca.qualcomm.com>
Thu, 31 Aug 2017 12:19:45 +0000 (15:19 +0300)
commit7086d861753bc0aaa8b6445f657d8e39953e4fcd
tree70251a63af66f73eca3f4c05c16bf026456815b0
parent1490846d256af947a4743f04ba8c97dc3bc37073
wil6210: clear PAL_UNIT_ICR part of device reset

When FW starts running it can get D0 to D3 interrupt that is a leftover
from previous system suspend while FW was not running.
As this interrupt is not relevant anymore, clear it part of device reset
procedure.

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