Donate to e Foundation | Murena handsets with /e/OS | Own a part of Murena! Learn more

Commit 7afce3f5 authored by Mark Brown's avatar Mark Brown
Browse files

ASoC: wm8994: Ensure microphone detection state is reset on removal

parent 9e43088b
Loading
Loading
Loading
Loading
+1 −0
Original line number Diff line number Diff line
@@ -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;
	}