diff options
Diffstat (limited to 'sound')
-rw-r--r-- | sound/soc/codecs/wm8994.c | 5 |
1 files changed, 5 insertions, 0 deletions
diff --git a/sound/soc/codecs/wm8994.c b/sound/soc/codecs/wm8994.c index 62dc30598084..b38382cc4b59 100644 --- a/sound/soc/codecs/wm8994.c +++ b/sound/soc/codecs/wm8994.c | |||
@@ -3833,6 +3833,11 @@ static irqreturn_t wm8958_mic_irq(int irq, void *data) | |||
3833 | dev_dbg(codec->dev, "Ignoring removed jack\n"); | 3833 | dev_dbg(codec->dev, "Ignoring removed jack\n"); |
3834 | return IRQ_HANDLED; | 3834 | return IRQ_HANDLED; |
3835 | } | 3835 | } |
3836 | } else if (!(reg & WM8958_MICD_STS)) { | ||
3837 | snd_soc_jack_report(wm8994->micdet[0].jack, 0, | ||
3838 | SND_JACK_MECHANICAL | SND_JACK_HEADSET | | ||
3839 | wm8994->btn_mask); | ||
3840 | goto out; | ||
3836 | } | 3841 | } |
3837 | 3842 | ||
3838 | if (wm8994->mic_detecting) | 3843 | if (wm8994->mic_detecting) |