Commit 067b5a84 authored by Kailang Yang's avatar Kailang Yang Committed by Jaroslav Kysela
Browse files

[ALSA] hda-codec - Fix ALC662 auto mode



Fixed ALC662 auto mode, wrong NIDs were chosen.

Signed-off-by: default avatarKailang Yang <kailang@realtek.com.tw>
Signed-off-by: default avatarTakashi Iwai <tiwai@suse.de>
Signed-off-by: default avatarJaroslav Kysela <perex@suse.cz>
parent 83c34218
Loading
Loading
Loading
Loading
+1 −1
Original line number Diff line number Diff line
@@ -11013,7 +11013,7 @@ static int alc662_auto_create_multi_out_ctls(struct alc_spec *spec,
	for (i = 0; i < cfg->line_outs; i++) {
		if (!spec->multiout.dac_nids[i])
			continue;
		nid = alc880_idx_to_dac(i);
		nid = alc880_idx_to_mixer(i);
		if (i == 2) {
			/* Center/LFE */
			err = add_control(spec, ALC_CTL_WIDGET_VOL,