aboutsummaryrefslogtreecommitdiffstats
path: root/sound/soc/codecs/wm8962.c
diff options
context:
space:
mode:
Diffstat (limited to 'sound/soc/codecs/wm8962.c')
-rw-r--r--sound/soc/codecs/wm8962.c3
1 files changed, 3 insertions, 0 deletions
diff --git a/sound/soc/codecs/wm8962.c b/sound/soc/codecs/wm8962.c
index 75e78405360..add07fff449 100644
--- a/sound/soc/codecs/wm8962.c
+++ b/sound/soc/codecs/wm8962.c
@@ -3570,6 +3570,9 @@ static irqreturn_t wm8962_irq(int irq, void *data)
3570 active = snd_soc_read(codec, WM8962_INTERRUPT_STATUS_2); 3570 active = snd_soc_read(codec, WM8962_INTERRUPT_STATUS_2);
3571 active &= ~mask; 3571 active &= ~mask;
3572 3572
3573 if (!active)
3574 return IRQ_NONE;
3575
3573 /* Acknowledge the interrupts */ 3576 /* Acknowledge the interrupts */
3574 snd_soc_write(codec, WM8962_INTERRUPT_STATUS_2, active); 3577 snd_soc_write(codec, WM8962_INTERRUPT_STATUS_2, active);
3575 3578