wil6210: protect against false interrupt during reset sequence
authorHamad Kadmany <qca_hkadmany@qca.qualcomm.com>
Fri, 20 Jan 2017 11:49:49 +0000 (13:49 +0200)
committerKalle Valo <kvalo@qca.qualcomm.com>
Fri, 27 Jan 2017 17:49:43 +0000 (19:49 +0200)
commit3ee908dc3b48fa0a5be2883362d36e085b6b52f4
treeb4bf02c0dd95769b236717a0bb01e79198a4d12f
parent4d4c4dc324b4444d40e9164834044feebaf2d72d
wil6210: protect against false interrupt during reset sequence

During reset sequence it is seen that device is generating an
interrupt eventhough interrupts are masked at device level.

Add workaround to disable the interrupts from host side during
reset and clear any pending interrupts before re-enabling
the interrupt.

Signed-off-by: Hamad Kadmany <qca_hkadmany@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