aboutsummaryrefslogtreecommitdiff
path: root/sound
diff options
context:
space:
mode:
authorMark Brown <broonie@opensource.wolfsonmicro.com>2013-05-30 13:42:27 +0100
committerMark Brown <broonie@opensource.wolfsonmicro.com>2013-05-30 13:47:46 +0100
commit7afce3f5e56e9cb97cf1f35832bf8e8dde08cc45 (patch)
tree2c32882bee4c3b59573365d6797b91887773864b /sound
parent9e43088bb015397930d6c9ea5edba92abc0dc655 (diff)
ASoC: wm8994: Ensure microphone detection state is reset on removal
Signed-off-by: Mark Brown <broonie@opensource.wolfsonmicro.com>
Diffstat (limited to 'sound')
-rw-r--r--sound/soc/codecs/wm8994.c1
1 files changed, 1 insertions, 0 deletions
diff --git a/sound/soc/codecs/wm8994.c b/sound/soc/codecs/wm8994.c
index 19e0b2048af..29e95f93d48 100644
--- a/sound/soc/codecs/wm8994.c
+++ b/sound/soc/codecs/wm8994.c
@@ -3842,6 +3842,7 @@ static irqreturn_t wm8958_mic_irq(int irq, void *data)
snd_soc_jack_report(wm8994->micdet[0].jack, 0,
SND_JACK_MECHANICAL | SND_JACK_HEADSET |
wm8994->btn_mask);
+ wm8994->mic_detecting = true;
goto out;
}