We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 23a58b7 commit 4684a2dCopy full SHA for 4684a2d
sound/soc/codecs/es8326.c
@@ -843,6 +843,8 @@ static void es8326_jack_detect_handler(struct work_struct *work)
843
es8326_disable_micbias(es8326->component);
844
if (es8326->jack->status & SND_JACK_HEADPHONE) {
845
dev_dbg(comp->dev, "Report hp remove event\n");
846
+ snd_soc_jack_report(es8326->jack, 0,
847
+ SND_JACK_BTN_0 | SND_JACK_BTN_1 | SND_JACK_BTN_2);
848
snd_soc_jack_report(es8326->jack, 0, SND_JACK_HEADSET);
849
/* mute adc when mic path switch */
850
regmap_write(es8326->regmap, ES8326_ADC1_SRC, 0x44);
0 commit comments