mfd: wcd9xxx: Fix interrupt request flooding

The wcd9320 and wcd9306 codec have additional interrupt bits which are not
currently masked.  Therefore it's possible those interrupts assert and
never be cleared by driver.  Mask additional interrupt mask bits in order
to prevent irq flooding.

Additionally enhance irq handler to clear unhandled nested irq so even
buggy driver cannot make irq flooding.

CRs-fixed: 478185
Change-Id: I6d7c0fad8baceefd0fb8c2ee0498ca09b56a56a8
Signed-off-by: Joonwoo Park <joonwoop@codeaurora.org>
2 files changed