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

Commit 85f13b67 authored by Takashi Iwai's avatar Takashi Iwai
Browse files

ALSA: Revert "ALSA: hda: removed unneeded hp_nid references"



This reverts commit 07f455f7.
    ALSA: hda: removed unneeded hp_nid references

    Removed unneeded hp_nid references for 92hd73xx codec family.

This caused the silent output on some Intel desktops due to missing
routing of widget 0x0a and 0x0d.

Signed-off-by: default avatarTakashi Iwai <tiwai@suse.de>
parent fa620e97
Loading
Loading
Loading
Loading
+3 −0
Original line number Diff line number Diff line
@@ -4259,14 +4259,17 @@ static int patch_stac92hd73xx(struct hda_codec *codec)

	switch (spec->multiout.num_dacs) {
	case 0x3: /* 6 Channel */
		spec->multiout.hp_nid = 0x17;
		spec->mixer = stac92hd73xx_6ch_mixer;
		spec->init = stac92hd73xx_6ch_core_init;
		break;
	case 0x4: /* 8 Channel */
		spec->multiout.hp_nid = 0x18;
		spec->mixer = stac92hd73xx_8ch_mixer;
		spec->init = stac92hd73xx_8ch_core_init;
		break;
	case 0x5: /* 10 Channel */
		spec->multiout.hp_nid = 0x19;
		spec->mixer = stac92hd73xx_10ch_mixer;
		spec->init = stac92hd73xx_10ch_core_init;
	};