summaryrefslogtreecommitdiff
path: root/sound/soc/codecs/wm0010.c
diff options
context:
space:
mode:
authorMark Brown <broonie@opensource.wolfsonmicro.com>2012-10-08 14:48:17 +0900
committerMark Brown <broonie@opensource.wolfsonmicro.com>2012-11-27 19:31:31 +0000
commit5d910966d24b755c2ad2231e934fc71af55a1ee7 (patch)
tree56b942b6ee89d3270aca04c214c4c4e843e640ec /sound/soc/codecs/wm0010.c
parent68e1969ea705dafcee721f02c4fbc34466917f83 (diff)
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>
Diffstat (limited to 'sound/soc/codecs/wm0010.c')
-rw-r--r--sound/soc/codecs/wm0010.c1
1 files changed, 0 insertions, 1 deletions
diff --git a/sound/soc/codecs/wm0010.c b/sound/soc/codecs/wm0010.c
index 3c3a7b16bb8b..40256b526259 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: