Donate to e Foundation | Murena handsets with /e/OS | Own a part of Murena! Learn more

Commit e6ef5870 authored by Mark Brown's avatar Mark Brown
Browse files

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
Loading
Loading
Loading
Loading
+3 −0
Original line number Diff line number Diff line
@@ -3570,6 +3570,9 @@ static irqreturn_t wm8962_irq(int irq, void *data)
	active = snd_soc_read(codec, WM8962_INTERRUPT_STATUS_2);
	active &= ~mask;

	if (!active)
		return IRQ_NONE;

	/* Acknowledge the interrupts */
	snd_soc_write(codec, WM8962_INTERRUPT_STATUS_2, active);