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

Commit 8a6c21ae authored by Takashi Iwai's avatar Takashi Iwai
Browse files

ALSA: hda - Fix missing unsol event handler in some codec drivers



This resulted in non-working auto-mute behavior, of course...

Signed-off-by: default avatarTakashi Iwai <tiwai@suse.de>
parent 36c9db7a
Loading
Loading
Loading
Loading
+1 −0
Original line number Diff line number Diff line
@@ -595,6 +595,7 @@ static const struct hda_codec_ops ad198x_auto_patch_ops = {
	.build_pcms = snd_hda_gen_build_pcms,
	.init = snd_hda_gen_init,
	.free = ad198x_free,
	.unsol_event = snd_hda_jack_unsol_event,
#ifdef CONFIG_PM
	.check_power_status = snd_hda_gen_check_power_status,
	.suspend = ad198x_suspend,
+1 −0
Original line number Diff line number Diff line
@@ -36,6 +36,7 @@ static const struct hda_codec_ops ca0110_patch_ops = {
	.build_pcms = snd_hda_gen_build_pcms,
	.init = snd_hda_gen_init,
	.free = snd_hda_gen_free,
	.unsol_event = snd_hda_jack_unsol_event,
};

static int ca0110_parse_auto_config(struct hda_codec *codec)
+1 −0
Original line number Diff line number Diff line
@@ -576,6 +576,7 @@ static const struct hda_codec_ops cmi_auto_patch_ops = {
	.build_pcms = snd_hda_gen_build_pcms,
	.init = snd_hda_gen_init,
	.free = snd_hda_gen_free,
	.unsol_event = snd_hda_jack_unsol_event,
};

static int cmi_parse_auto_config(struct hda_codec *codec)