From 067b5a844c7b9703b0bdcd8cf003a621734c3bae Mon Sep 17 00:00:00 2001 From: Kailang Yang Date: Thu, 5 Jul 2007 12:35:15 +0200 Subject: [ALSA] hda-codec - Fix ALC662 auto mode Fixed ALC662 auto mode, wrong NIDs were chosen. Signed-off-by: Kailang Yang Signed-off-by: Takashi Iwai Signed-off-by: Jaroslav Kysela --- sound/pci/hda/patch_realtek.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'sound') diff --git a/sound/pci/hda/patch_realtek.c b/sound/pci/hda/patch_realtek.c index 2d35b4cfb2b8..acaf8c39eea6 100644 --- a/sound/pci/hda/patch_realtek.c +++ b/sound/pci/hda/patch_realtek.c @@ -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, -- cgit v1.2.3