From: Mark Brown Date: Mon, 8 Oct 2012 05:48:17 +0000 (+0900) Subject: ASoC: wm0010: Ignore interrupts in power down mode X-Git-Tag: v3.8-rc1~29^2~5^2~53^2 X-Git-Url: http://review.tizen.org/git/?a=commitdiff_plain;h=5d910966d24b755c2ad2231e934fc71af55a1ee7;p=platform%2Fkernel%2Flinux-exynos.git ASoC: wm0010: Ignore interrupts in power down mode The device should not be generating interrupts when it does not have power so ignore incoming interrupts. Signed-off-by: Mark Brown --- diff --git a/sound/soc/codecs/wm0010.c b/sound/soc/codecs/wm0010.c index 3c3a7b1..40256b5 100644 --- a/sound/soc/codecs/wm0010.c +++ b/sound/soc/codecs/wm0010.c @@ -862,7 +862,6 @@ static irqreturn_t wm0010_irq(int irq, void *data) struct wm0010_priv *wm0010 = data; switch (wm0010->state) { - case WM0010_POWER_OFF: case WM0010_OUT_OF_RESET: case WM0010_BOOTROM: case WM0010_STAGE2: