wil6210: mask MISC interrupt when HALP IRQ is invoked
When MISC interrupt is triggered due to HALP bit, the IRQ handler
can run in parallel to mbox events handling by the MISC threaded IRQ.
New mbox interrupt can be missed in the following scenario:
1. MISC ICR is read in the IRQ handler
2. Threaded IRQ is completed and all MISC interrupts are unmasked
3. mbox interrupt is set by FW
4. HALP is masked
The mbox interrupt in step 3 can be missed due to constant high level
of ICM.
Masking all MISC IRQs instead of masking only HALP bit in step 4
will guarantee that ICM will drop to 0 and interrupt will be triggered
once MISC interrupts will be unmasked.
Change-Id: Iaa204265646ef92ad7d2778193665411cb54c662
Signed-off-by: Maya Erez <merez@codeaurora.org>
1 file changed