aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorKailang Yang <kailang@realtek.com.tw>2007-07-05 06:35:15 -0400
committerJaroslav Kysela <perex@suse.cz>2007-07-20 05:11:42 -0400
commit067b5a844c7b9703b0bdcd8cf003a621734c3bae (patch)
treeb87c68489c2c4f760db14bfe4646d4ff1ce17110
parent83c34218a867085f7108438408c8323b46dbfc4a (diff)
[ALSA] hda-codec - Fix ALC662 auto mode
Fixed ALC662 auto mode, wrong NIDs were chosen. Signed-off-by: Kailang Yang <kailang@realtek.com.tw> Signed-off-by: Takashi Iwai <tiwai@suse.de> Signed-off-by: Jaroslav Kysela <perex@suse.cz>
-rw-r--r--sound/pci/hda/patch_realtek.c2
1 files changed, 1 insertions, 1 deletions
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,
11013 for (i = 0; i < cfg->line_outs; i++) { 11013 for (i = 0; i < cfg->line_outs; i++) {
11014 if (!spec->multiout.dac_nids[i]) 11014 if (!spec->multiout.dac_nids[i])
11015 continue; 11015 continue;
11016 nid = alc880_idx_to_dac(i); 11016 nid = alc880_idx_to_mixer(i);
11017 if (i == 2) { 11017 if (i == 2) {
11018 /* Center/LFE */ 11018 /* Center/LFE */
11019 err = add_control(spec, ALC_CTL_WIDGET_VOL, 11019 err = add_control(spec, ALC_CTL_WIDGET_VOL,