ASoC: wm0010: Ignore interrupts in power down mode
authorMark Brown <broonie@opensource.wolfsonmicro.com>
Mon, 8 Oct 2012 05:48:17 +0000 (14:48 +0900)
committerMark Brown <broonie@opensource.wolfsonmicro.com>
Tue, 27 Nov 2012 19:31:31 +0000 (19:31 +0000)
The device should not be generating interrupts when it does not have power
so ignore incoming interrupts.

Signed-off-by: Mark Brown <broonie@opensource.wolfsonmicro.com>
sound/soc/codecs/wm0010.c

index 3c3a7b16bb8b57bf143e64bf2f85e8863c80b7b7..40256b52625977893bc19d280827c27f81337101 100644 (file)
@@ -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: