diff options
author | Takashi Iwai <tiwai@suse.de> | 2012-01-25 03:55:46 -0500 |
---|---|---|
committer | Takashi Iwai <tiwai@suse.de> | 2012-01-25 03:59:57 -0500 |
commit | 3b25eb690e8c7424eecffe1458c02b87b32aa001 (patch) | |
tree | 187aa49740008849eda8cc12220136762ed063e5 /sound | |
parent | 769fab2a41da4bd3c59eee38f47d6d5405738fe0 (diff) |
ALSA: hda - Fix silent output on ASUS A6Rp
The refactoring of Realtek codec driver in 3.2 kernel caused a
regression for ASUS A6Rp laptop; it doesn't give any output.
The reason was that this machine has a secret master mute (or EAPD)
control via NID 0x0f VREF. Setting VREF50 on this node makes the
sound working again.
Bugzilla: https://bugzilla.kernel.org/show_bug.cgi?id=42588
Cc: <stable@kernel.org> [v3.2+]
Signed-off-by: Takashi Iwai <tiwai@suse.de>
Diffstat (limited to 'sound')
-rw-r--r-- | sound/pci/hda/patch_realtek.c | 10 |
1 files changed, 10 insertions, 0 deletions
diff --git a/sound/pci/hda/patch_realtek.c b/sound/pci/hda/patch_realtek.c index c95c8bde12d0..a23479926f89 100644 --- a/sound/pci/hda/patch_realtek.c +++ b/sound/pci/hda/patch_realtek.c | |||
@@ -5586,6 +5586,7 @@ static const struct hda_amp_list alc861_loopbacks[] = { | |||
5586 | /* Pin config fixes */ | 5586 | /* Pin config fixes */ |
5587 | enum { | 5587 | enum { |
5588 | PINFIX_FSC_AMILO_PI1505, | 5588 | PINFIX_FSC_AMILO_PI1505, |
5589 | PINFIX_ASUS_A6RP, | ||
5589 | }; | 5590 | }; |
5590 | 5591 | ||
5591 | static const struct alc_fixup alc861_fixups[] = { | 5592 | static const struct alc_fixup alc861_fixups[] = { |
@@ -5597,9 +5598,18 @@ static const struct alc_fixup alc861_fixups[] = { | |||
5597 | { } | 5598 | { } |
5598 | } | 5599 | } |
5599 | }, | 5600 | }, |
5601 | [PINFIX_ASUS_A6RP] = { | ||
5602 | .type = ALC_FIXUP_VERBS, | ||
5603 | .v.verbs = (const struct hda_verb[]) { | ||
5604 | /* node 0x0f VREF seems controlling the master output */ | ||
5605 | { 0x0f, AC_VERB_SET_PIN_WIDGET_CONTROL, PIN_VREF50 }, | ||
5606 | { } | ||
5607 | }, | ||
5608 | }, | ||
5600 | }; | 5609 | }; |
5601 | 5610 | ||
5602 | static const struct snd_pci_quirk alc861_fixup_tbl[] = { | 5611 | static const struct snd_pci_quirk alc861_fixup_tbl[] = { |
5612 | SND_PCI_QUIRK(0x1043, 0x1393, "ASUS A6Rp", PINFIX_ASUS_A6RP), | ||
5603 | SND_PCI_QUIRK(0x1734, 0x10c7, "FSC Amilo Pi1505", PINFIX_FSC_AMILO_PI1505), | 5613 | SND_PCI_QUIRK(0x1734, 0x10c7, "FSC Amilo Pi1505", PINFIX_FSC_AMILO_PI1505), |
5604 | {} | 5614 | {} |
5605 | }; | 5615 | }; |