aboutsummaryrefslogtreecommitdiffstats
path: root/sound/pci/hda/patch_realtek.c
diff options
context:
space:
mode:
authorTakashi Iwai <tiwai@suse.de>2012-01-25 03:55:46 -0500
committerTakashi Iwai <tiwai@suse.de>2012-01-25 03:59:57 -0500
commit3b25eb690e8c7424eecffe1458c02b87b32aa001 (patch)
tree187aa49740008849eda8cc12220136762ed063e5 /sound/pci/hda/patch_realtek.c
parent769fab2a41da4bd3c59eee38f47d6d5405738fe0 (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/pci/hda/patch_realtek.c')
-rw-r--r--sound/pci/hda/patch_realtek.c10
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 */
5587enum { 5587enum {
5588 PINFIX_FSC_AMILO_PI1505, 5588 PINFIX_FSC_AMILO_PI1505,
5589 PINFIX_ASUS_A6RP,
5589}; 5590};
5590 5591
5591static const struct alc_fixup alc861_fixups[] = { 5592static 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
5602static const struct snd_pci_quirk alc861_fixup_tbl[] = { 5611static 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};