diff options
author | Mark Brown <broonie@opensource.wolfsonmicro.com> | 2013-05-30 08:42:27 -0400 |
---|---|---|
committer | Mark Brown <broonie@opensource.wolfsonmicro.com> | 2013-05-30 08:47:46 -0400 |
commit | 7afce3f5e56e9cb97cf1f35832bf8e8dde08cc45 (patch) | |
tree | 2c32882bee4c3b59573365d6797b91887773864b | |
parent | 9e43088bb015397930d6c9ea5edba92abc0dc655 (diff) |
ASoC: wm8994: Ensure microphone detection state is reset on removal
Signed-off-by: Mark Brown <broonie@opensource.wolfsonmicro.com>
-rw-r--r-- | sound/soc/codecs/wm8994.c | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/sound/soc/codecs/wm8994.c b/sound/soc/codecs/wm8994.c index 19e0b2048af6..29e95f93d482 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) | |||
3842 | snd_soc_jack_report(wm8994->micdet[0].jack, 0, | 3842 | snd_soc_jack_report(wm8994->micdet[0].jack, 0, |
3843 | SND_JACK_MECHANICAL | SND_JACK_HEADSET | | 3843 | SND_JACK_MECHANICAL | SND_JACK_HEADSET | |
3844 | wm8994->btn_mask); | 3844 | wm8994->btn_mask); |
3845 | wm8994->mic_detecting = true; | ||
3845 | goto out; | 3846 | goto out; |
3846 | } | 3847 | } |
3847 | 3848 | ||