]> git.baikalelectronics.ru Git - kernel.git/commit
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)
commitb1e0dd6f591560df3fb361b7c24c16ed301eb782
treeb4bf02c0dd95769b236717a0bb01e79198a4d12f
parentc1b5d845ab1c05eb98764881422f78743fb6e3b4
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