mfd: wcd9xxx: Disable codec interrupt if HW doesn't respond

The codec interrupt line is level type which can be cleared by writing
codec register through connected bus.
If codec registers are not accessable due to various reasons including
hardware issues, there is chance driver never be able to clear irq that
results in irq flood.
Prevent this irq flood by disabling irq if codec doesn't respond.

Change-Id: Ide72e87151a9c9bd780d75b94611edfbc31d5a18
Signed-off-by: Joonwoo Park <joonwoop@codeaurora.org>
1 file changed