Browse Source

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 <broonie@opensource.wolfsonmicro.com>
Mark Brown 12 years ago
parent
commit
5d910966d2
1 changed files with 0 additions and 1 deletions
  1. 0 1
      sound/soc/codecs/wm0010.c

+ 0 - 1
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: