aboutsummaryrefslogtreecommitdiff
path: root/sound
diff options
context:
space:
mode:
authorKailang Yang <kailang@realtek.com.tw>2007-07-05 12:35:15 +0200
committerJaroslav Kysela <perex@suse.cz>2007-07-20 11:11:42 +0200
commit067b5a844c7b9703b0bdcd8cf003a621734c3bae (patch)
treeb87c68489c2c4f760db14bfe4646d4ff1ce17110 /sound
parent83c34218a867085f7108438408c8323b46dbfc4a (diff)
downloadlinux-2.6.34-ux500-067b5a844c7b9703b0bdcd8cf003a621734c3bae.tar.gz
[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>
Diffstat (limited to 'sound')
-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 2d35b4cfb2b..acaf8c39eea 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,