diff options
author | Takashi Iwai <tiwai@suse.de> | 2013-12-02 09:04:03 -0500 |
---|---|---|
committer | Takashi Iwai <tiwai@suse.de> | 2013-12-02 09:40:14 -0500 |
commit | b3bd4fc3822a6b5883eaa556822487d87752d443 (patch) | |
tree | 09bca4214a06ce4e0a93340e5f0ce9da7c854116 | |
parent | ce8e0fd239e411e08a0cd83868898cd3f573d7cf (diff) |
ALSA: hda - Use always amps for auto-mute on AD1986A codec
It seems that AD1986A cannot manage the dynamic pin on/off for
auto-muting, but rather gets confused. Since each output has own amp,
let's use it instead.
Bugzilla: https://bugzilla.kernel.org/show_bug.cgi?id=64971
Cc: <stable@vger.kernel.org> [v3.11+]
Signed-off-by: Takashi Iwai <tiwai@suse.de>
-rw-r--r-- | sound/pci/hda/patch_analog.c | 3 |
1 files changed, 3 insertions, 0 deletions
diff --git a/sound/pci/hda/patch_analog.c b/sound/pci/hda/patch_analog.c index f6351b8e0f5d..cac015be3325 100644 --- a/sound/pci/hda/patch_analog.c +++ b/sound/pci/hda/patch_analog.c | |||
@@ -361,6 +361,9 @@ static int patch_ad1986a(struct hda_codec *codec) | |||
361 | */ | 361 | */ |
362 | spec->gen.multiout.no_share_stream = 1; | 362 | spec->gen.multiout.no_share_stream = 1; |
363 | 363 | ||
364 | /* AD1986A can't manage the dynamic pin on/off smoothly */ | ||
365 | spec->gen.auto_mute_via_amp = 1; | ||
366 | |||
364 | snd_hda_pick_fixup(codec, ad1986a_fixup_models, ad1986a_fixup_tbl, | 367 | snd_hda_pick_fixup(codec, ad1986a_fixup_models, ad1986a_fixup_tbl, |
365 | ad1986a_fixups); | 368 | ad1986a_fixups); |
366 | snd_hda_apply_fixup(codec, HDA_FIXUP_ACT_PRE_PROBE); | 369 | snd_hda_apply_fixup(codec, HDA_FIXUP_ACT_PRE_PROBE); |