diff options
author | Takashi Iwai <tiwai@suse.de> | 2013-01-23 11:00:31 -0500 |
---|---|---|
committer | Takashi Iwai <tiwai@suse.de> | 2013-01-23 11:00:31 -0500 |
commit | e4a395e7819b1e666b2e9da22234059f403dbc11 (patch) | |
tree | ef81eb2798030b1f8d141d2a430c46bb1cf01b13 /sound/pci/hda/patch_analog.c | |
parent | 0db75790e282dd1c8752b2472a9485940dd92c70 (diff) |
ALSA: hda - Fix missing path between aamix and outputs in AD codecs
AD1988 family and AD1882 codecs have another mixer widget (0x21)
between the analog-loopback mixer widget (0x20) and the actual
outputs. Due to this hole, the analog-loopbacks aren't sent properly
to the output pins.
As a band-aid fix, introduce another fields holding the aamix merge
path, and activate it.
Signed-off-by: Takashi Iwai <tiwai@suse.de>
Diffstat (limited to 'sound/pci/hda/patch_analog.c')
-rw-r--r-- | sound/pci/hda/patch_analog.c | 2 |
1 files changed, 2 insertions, 0 deletions
diff --git a/sound/pci/hda/patch_analog.c b/sound/pci/hda/patch_analog.c index 9d82aab1e512..df8014b27596 100644 --- a/sound/pci/hda/patch_analog.c +++ b/sound/pci/hda/patch_analog.c | |||
@@ -3235,6 +3235,7 @@ static int ad1988_parse_auto_config(struct hda_codec *codec) | |||
3235 | spec = codec->spec; | 3235 | spec = codec->spec; |
3236 | 3236 | ||
3237 | spec->gen.mixer_nid = 0x20; | 3237 | spec->gen.mixer_nid = 0x20; |
3238 | spec->gen.mixer_merge_nid = 0x21; | ||
3238 | spec->beep_dev_nid = 0x10; | 3239 | spec->beep_dev_nid = 0x10; |
3239 | set_beep_amp(spec, 0x10, 0, HDA_OUTPUT); | 3240 | set_beep_amp(spec, 0x10, 0, HDA_OUTPUT); |
3240 | err = ad198x_parse_auto_config(codec); | 3241 | err = ad198x_parse_auto_config(codec); |
@@ -5153,6 +5154,7 @@ static int ad1882_parse_auto_config(struct hda_codec *codec) | |||
5153 | spec = codec->spec; | 5154 | spec = codec->spec; |
5154 | 5155 | ||
5155 | spec->gen.mixer_nid = 0x20; | 5156 | spec->gen.mixer_nid = 0x20; |
5157 | spec->gen.mixer_merge_nid = 0x21; | ||
5156 | spec->beep_dev_nid = 0x10; | 5158 | spec->beep_dev_nid = 0x10; |
5157 | set_beep_amp(spec, 0x10, 0, HDA_OUTPUT); | 5159 | set_beep_amp(spec, 0x10, 0, HDA_OUTPUT); |
5158 | err = ad198x_parse_auto_config(codec); | 5160 | err = ad198x_parse_auto_config(codec); |