diff options
author | Takashi Iwai <tiwai@suse.de> | 2013-06-24 10:18:10 -0400 |
---|---|---|
committer | Takashi Iwai <tiwai@suse.de> | 2013-06-25 02:13:55 -0400 |
commit | eb33ccf7637c34b2c95dbcca8b2e4cab76a52949 (patch) | |
tree | 7c7ec17610adaa396ecfc1b0b37c637650b049d9 /sound/pci | |
parent | 7eebffd3f4328c6dc220521f14b384affdaf9427 (diff) |
ALSA: hda - Use auto_mute_via_amp=1 for VT1708
We've got bug report wrt many machines with VT1708 (e.g. IBM POS
machines) showing the broken auto-mute behavior. It turned out that
the problem is that the pin control values of the speaker and line-out
pins are completely ignored. As a workaround, let's use the newly
introduced feature of the generic parser, to control the mute via amp
on pins.
Signed-off-by: Takashi Iwai <tiwai@suse.de>
Diffstat (limited to 'sound/pci')
-rw-r--r-- | sound/pci/hda/patch_via.c | 2 |
1 files changed, 2 insertions, 0 deletions
diff --git a/sound/pci/hda/patch_via.c b/sound/pci/hda/patch_via.c index dcebf3cb18de..e2481baddc70 100644 --- a/sound/pci/hda/patch_via.c +++ b/sound/pci/hda/patch_via.c | |||
@@ -741,6 +741,8 @@ static int patch_vt1708(struct hda_codec *codec) | |||
741 | /* don't support the input jack switching due to lack of unsol event */ | 741 | /* don't support the input jack switching due to lack of unsol event */ |
742 | /* (it may work with polling, though, but it needs testing) */ | 742 | /* (it may work with polling, though, but it needs testing) */ |
743 | spec->gen.suppress_auto_mic = 1; | 743 | spec->gen.suppress_auto_mic = 1; |
744 | /* Some machines show the broken speaker mute */ | ||
745 | spec->gen.auto_mute_via_amp = 1; | ||
744 | 746 | ||
745 | /* Add HP and CD pin config connect bit re-config action */ | 747 | /* Add HP and CD pin config connect bit re-config action */ |
746 | vt1708_set_pinconfig_connect(codec, VT1708_HP_PIN_NID); | 748 | vt1708_set_pinconfig_connect(codec, VT1708_HP_PIN_NID); |