diff options
author | Mark Brown <broonie@opensource.wolfsonmicro.com> | 2013-05-30 13:42:27 +0100 |
---|---|---|
committer | Mark Brown <broonie@opensource.wolfsonmicro.com> | 2013-05-30 13:47:46 +0100 |
commit | 7afce3f5e56e9cb97cf1f35832bf8e8dde08cc45 (patch) | |
tree | 2c32882bee4c3b59573365d6797b91887773864b /sound/soc | |
parent | 9e43088bb015397930d6c9ea5edba92abc0dc655 (diff) | |
download | op-kernel-dev-7afce3f5e56e9cb97cf1f35832bf8e8dde08cc45.zip op-kernel-dev-7afce3f5e56e9cb97cf1f35832bf8e8dde08cc45.tar.gz |
ASoC: wm8994: Ensure microphone detection state is reset on removal
Signed-off-by: Mark Brown <broonie@opensource.wolfsonmicro.com>
Diffstat (limited to 'sound/soc')
-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 19e0b204..29e95f9 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; } |