aboutsummaryrefslogtreecommitdiffstats
path: root/sound/pci/hda/patch_sigmatel.c
diff options
context:
space:
mode:
authorTakashi Iwai <tiwai@suse.de>2013-01-21 16:25:18 +0100
committerTakashi Iwai <tiwai@suse.de>2013-01-21 16:25:18 +0100
commit2748746f40da674cd6ba405fd3ef83e12a94b8ed (patch)
treed9fb4473aadcf2e8c4d1cd022a7639e8f1f88512 /sound/pci/hda/patch_sigmatel.c
parentALSA: hda - Remove superfluous header inclusions (diff)
downloadlinux-dev-2748746f40da674cd6ba405fd3ef83e12a94b8ed.tar.xz
linux-dev-2748746f40da674cd6ba405fd3ef83e12a94b8ed.zip
ALSA: hda - Add aamix NID to IDT 92HD codecs
IDT codecs have analog-loopback mixer widgets, but we haven't cared about it, so far. Let's set them. This will avoid also possible wrong routes for the input paths. Signed-off-by: Takashi Iwai <tiwai@suse.de>
Diffstat (limited to '')
-rw-r--r--sound/pci/hda/patch_sigmatel.c3
1 files changed, 3 insertions, 0 deletions
diff --git a/sound/pci/hda/patch_sigmatel.c b/sound/pci/hda/patch_sigmatel.c
index fd29f4918879..c53b6f9f2ca8 100644
--- a/sound/pci/hda/patch_sigmatel.c
+++ b/sound/pci/hda/patch_sigmatel.c
@@ -3743,6 +3743,7 @@ static int patch_stac92hd73xx(struct hda_codec *codec)
spec = codec->spec;
spec->linear_tone_beep = 0;
+ spec->gen.mixer_nid = 0x1d;
num_dacs = snd_hda_get_num_conns(codec, 0x0a) - 1;
if (num_dacs < 3 || num_dacs > 5) {
@@ -3840,6 +3841,7 @@ static int patch_stac92hd83xxx(struct hda_codec *codec)
spec = codec->spec;
spec->linear_tone_beep = 0;
spec->gen.own_eapd_ctl = 1;
+ spec->gen.mixer_nid = 0x1b;
spec->digbeep_nid = 0x21;
spec->pwr_nids = stac92hd83xxx_pwr_nids;
@@ -3882,6 +3884,7 @@ static int patch_stac92hd71bxx(struct hda_codec *codec)
spec = codec->spec;
spec->linear_tone_beep = 0;
spec->gen.own_eapd_ctl = 1;
+ spec->gen.mixer_nid = 0x17;
codec->patch_ops = stac_patch_ops;