aboutsummaryrefslogtreecommitdiffstats
path: root/sound
diff options
context:
space:
mode:
authorMark Brown <broonie@opensource.wolfsonmicro.com>2012-10-08 01:48:17 -0400
committerMark Brown <broonie@opensource.wolfsonmicro.com>2012-11-27 14:31:31 -0500
commit5d910966d24b755c2ad2231e934fc71af55a1ee7 (patch)
tree56b942b6ee89d3270aca04c214c4c4e843e640ec /sound
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')
-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)
862 struct wm0010_priv *wm0010 = data; 862 struct wm0010_priv *wm0010 = data;
863 863
864 switch (wm0010->state) { 864 switch (wm0010->state) {
865 case WM0010_POWER_OFF:
866 case WM0010_OUT_OF_RESET: 865 case WM0010_OUT_OF_RESET:
867 case WM0010_BOOTROM: 866 case WM0010_BOOTROM:
868 case WM0010_STAGE2: 867 case WM0010_STAGE2: