Skip to content

Commit

Permalink
ASoC: wm0010: Ignore interrupts in power down mode
Browse files Browse the repository at this point in the history
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>
  • Loading branch information
broonie committed Nov 27, 2012
1 parent 68e1969 commit 5d91096
Showing 1 changed file with 0 additions and 1 deletion.
1 change: 0 additions & 1 deletion sound/soc/codecs/wm0010.c
Original file line number Diff line number Diff line change
Expand Up @@ -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:
Expand Down

0 comments on commit 5d91096

Please sign in to comment.