diff options
author | David Henningsson <david.henningsson@canonical.com> | 2011-03-04 07:37:50 -0500 |
---|---|---|
committer | Takashi Iwai <tiwai@suse.de> | 2011-03-10 11:34:51 -0500 |
commit | 32eea3884debb65ec1da633bc5df5aee23879865 (patch) | |
tree | ad258233ba44a1b82c26536bdc2c71308495de1d /sound/pci/hda | |
parent | cd372fb3befde3bceef3fdcbc550dde50c894e36 (diff) |
ALSA: HDA: Enable surround and subwoofer on Lenovo Ideapad Y530
The pin config values would change the association instead of the
sequence, this commit fixes that up.
Tested-by: Bartłomiej Żogała <nusch88@gmail.com>
Cc: <stable@kernel.org>
Signed-off-by: David Henningsson <david.henningsson@canonical.com>
Signed-off-by: Takashi Iwai <tiwai@suse.de>
Diffstat (limited to 'sound/pci/hda')
-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 f6c344126b83..b4a22dd775a2 100644 --- a/sound/pci/hda/patch_realtek.c +++ b/sound/pci/hda/patch_realtek.c | |||
@@ -10677,6 +10677,7 @@ static struct alc_config_preset alc882_presets[] = { | |||
10677 | */ | 10677 | */ |
10678 | enum { | 10678 | enum { |
10679 | PINFIX_ABIT_AW9D_MAX, | 10679 | PINFIX_ABIT_AW9D_MAX, |
10680 | PINFIX_LENOVO_Y530, | ||
10680 | PINFIX_PB_M5210, | 10681 | PINFIX_PB_M5210, |
10681 | PINFIX_ACER_ASPIRE_7736, | 10682 | PINFIX_ACER_ASPIRE_7736, |
10682 | }; | 10683 | }; |
@@ -10691,6 +10692,14 @@ static const struct alc_fixup alc882_fixups[] = { | |||
10691 | { } | 10692 | { } |
10692 | } | 10693 | } |
10693 | }, | 10694 | }, |
10695 | [PINFIX_LENOVO_Y530] = { | ||
10696 | .type = ALC_FIXUP_PINS, | ||
10697 | .v.pins = (const struct alc_pincfg[]) { | ||
10698 | { 0x15, 0x99130112 }, /* rear int speakers */ | ||
10699 | { 0x16, 0x99130111 }, /* subwoofer */ | ||
10700 | { } | ||
10701 | } | ||
10702 | }, | ||
10694 | [PINFIX_PB_M5210] = { | 10703 | [PINFIX_PB_M5210] = { |
10695 | .type = ALC_FIXUP_VERBS, | 10704 | .type = ALC_FIXUP_VERBS, |
10696 | .v.verbs = (const struct hda_verb[]) { | 10705 | .v.verbs = (const struct hda_verb[]) { |
@@ -10706,6 +10715,7 @@ static const struct alc_fixup alc882_fixups[] = { | |||
10706 | 10715 | ||
10707 | static struct snd_pci_quirk alc882_fixup_tbl[] = { | 10716 | static struct snd_pci_quirk alc882_fixup_tbl[] = { |
10708 | SND_PCI_QUIRK(0x1025, 0x0155, "Packard-Bell M5120", PINFIX_PB_M5210), | 10717 | SND_PCI_QUIRK(0x1025, 0x0155, "Packard-Bell M5120", PINFIX_PB_M5210), |
10718 | SND_PCI_QUIRK(0x17aa, 0x3a0d, "Lenovo Y530", PINFIX_LENOVO_Y530), | ||
10709 | SND_PCI_QUIRK(0x147b, 0x107a, "Abit AW9D-MAX", PINFIX_ABIT_AW9D_MAX), | 10719 | SND_PCI_QUIRK(0x147b, 0x107a, "Abit AW9D-MAX", PINFIX_ABIT_AW9D_MAX), |
10710 | SND_PCI_QUIRK(0x1025, 0x0296, "Acer Aspire 7736z", PINFIX_ACER_ASPIRE_7736), | 10720 | SND_PCI_QUIRK(0x1025, 0x0296, "Acer Aspire 7736z", PINFIX_ACER_ASPIRE_7736), |
10711 | {} | 10721 | {} |