commit | 7afce3f5e56e9cb97cf1f35832bf8e8dde08cc45 | [log] [tgz] |
---|---|---|
author | Mark Brown <broonie@opensource.wolfsonmicro.com> | Thu May 30 13:42:27 2013 +0100 |
committer | Mark Brown <broonie@opensource.wolfsonmicro.com> | Thu May 30 13:47:46 2013 +0100 |
tree | 2c32882bee4c3b59573365d6797b91887773864b | |
parent | 9e43088bb015397930d6c9ea5edba92abc0dc655 [diff] |
ASoC: wm8994: Ensure microphone detection state is reset on removal Signed-off-by: Mark Brown <broonie@opensource.wolfsonmicro.com>
diff --git a/sound/soc/codecs/wm8994.c b/sound/soc/codecs/wm8994.c index 19e0b20..29e95f93d 100644 --- a/sound/soc/codecs/wm8994.c +++ b/sound/soc/codecs/wm8994.c
@@ -3842,6 +3842,7 @@ snd_soc_jack_report(wm8994->micdet[0].jack, 0, SND_JACK_MECHANICAL | SND_JACK_HEADSET | wm8994->btn_mask); + wm8994->mic_detecting = true; goto out; }