Commit e6ef5870 authored by Mark Brown's avatar Mark Brown

ASoC: Report IRQ_NONE when we don't see an interrupt from WM8962

This should never happen with level triggered IRQs.
Signed-off-by: default avatarMark Brown <broonie@opensource.wolfsonmicro.com>
Acked-by: default avatarLiam Girdwood <lrg@ti.com>
parent 6f88a4e5
...@@ -3570,6 +3570,9 @@ static irqreturn_t wm8962_irq(int irq, void *data) ...@@ -3570,6 +3570,9 @@ static irqreturn_t wm8962_irq(int irq, void *data)
active = snd_soc_read(codec, WM8962_INTERRUPT_STATUS_2); active = snd_soc_read(codec, WM8962_INTERRUPT_STATUS_2);
active &= ~mask; active &= ~mask;
if (!active)
return IRQ_NONE;
/* Acknowledge the interrupts */ /* Acknowledge the interrupts */
snd_soc_write(codec, WM8962_INTERRUPT_STATUS_2, active); snd_soc_write(codec, WM8962_INTERRUPT_STATUS_2, active);
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment