Skip to content

Commit

Permalink
ASoC: wm8994: Ensure microphone detection state is reset on removal
Browse files Browse the repository at this point in the history
Signed-off-by: Mark Brown <broonie@opensource.wolfsonmicro.com>
  • Loading branch information
Mark Brown committed May 30, 2013
1 parent 9e43088 commit 7afce3f
Showing 1 changed file with 1 addition and 0 deletions.
1 change: 1 addition & 0 deletions sound/soc/codecs/wm8994.c
Original file line number Diff line number Diff line change
Expand Up @@ -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;
}

Expand Down

0 comments on commit 7afce3f

Please sign in to comment.