From 9fd6d962dc3494f6facf5a17bfedfc5a4c53076e Mon Sep 17 00:00:00 2001 From: Mark Brown Date: Sun, 21 Aug 2011 11:47:14 +0100 Subject: [PATCH] --- yaml --- r: 270534 b: refs/heads/master c: e6ef58700a8afba46f2aa98a0de12c35e4b1f295 h: refs/heads/master v: v3 --- [refs] | 2 +- trunk/sound/soc/codecs/wm8962.c | 3 +++ 2 files changed, 4 insertions(+), 1 deletion(-) diff --git a/[refs] b/[refs] index 159d824142ce..91444c99a7ab 100644 --- a/[refs] +++ b/[refs] @@ -1,2 +1,2 @@ --- -refs/heads/master: 6f88a4e5785fbf4db9a2c7e16670e1f19e6566d2 +refs/heads/master: e6ef58700a8afba46f2aa98a0de12c35e4b1f295 diff --git a/trunk/sound/soc/codecs/wm8962.c b/trunk/sound/soc/codecs/wm8962.c index 75e784053603..add07fff4495 100644 --- a/trunk/sound/soc/codecs/wm8962.c +++ b/trunk/sound/soc/codecs/wm8962.c @@ -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);