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

Commit a1b7f016 authored by Connor McAdams's avatar Connor McAdams Committed by Takashi Iwai
Browse files

ALSA: hda/ca0132 - Add alt_functions unsolicited response



This patch fixes a previous oversight where the microphone unsolicited
response would use the wrong input selection function.

Signed-off-by: default avatarConnor McAdams <conmanx360@gmail.com>
Signed-off-by: default avatarTakashi Iwai <tiwai@suse.de>
parent d97420d2
Loading
Loading
Loading
Loading
+6 −1
Original line number Diff line number Diff line
@@ -6744,6 +6744,11 @@ static void hp_callback(struct hda_codec *codec, struct hda_jack_callback *cb)

static void amic_callback(struct hda_codec *codec, struct hda_jack_callback *cb)
{
	struct ca0132_spec *spec = codec->spec;

	if (spec->use_alt_functions)
		ca0132_alt_select_in(codec);
	else
		ca0132_select_mic(codec);
}