]> 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)
commitab3e637cc607828705ca3f0ad38fa6bf95e99749
treeb4bf02c0dd95769b236717a0bb01e79198a4d12f
parent6693944198f60af4ea944e4c98c9d95b552a9d97
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