mirror of
https://github.com/rd-stuffs/msm-4.14.git
synced 2025-02-20 11:45:48 +08:00
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>
This commit is contained in:
parent
cd372fb3be
commit
32eea3884d
@ -10677,6 +10677,7 @@ static struct alc_config_preset alc882_presets[] = {
|
|||||||
*/
|
*/
|
||||||
enum {
|
enum {
|
||||||
PINFIX_ABIT_AW9D_MAX,
|
PINFIX_ABIT_AW9D_MAX,
|
||||||
|
PINFIX_LENOVO_Y530,
|
||||||
PINFIX_PB_M5210,
|
PINFIX_PB_M5210,
|
||||||
PINFIX_ACER_ASPIRE_7736,
|
PINFIX_ACER_ASPIRE_7736,
|
||||||
};
|
};
|
||||||
@ -10691,6 +10692,14 @@ static const struct alc_fixup alc882_fixups[] = {
|
|||||||
{ }
|
{ }
|
||||||
}
|
}
|
||||||
},
|
},
|
||||||
|
[PINFIX_LENOVO_Y530] = {
|
||||||
|
.type = ALC_FIXUP_PINS,
|
||||||
|
.v.pins = (const struct alc_pincfg[]) {
|
||||||
|
{ 0x15, 0x99130112 }, /* rear int speakers */
|
||||||
|
{ 0x16, 0x99130111 }, /* subwoofer */
|
||||||
|
{ }
|
||||||
|
}
|
||||||
|
},
|
||||||
[PINFIX_PB_M5210] = {
|
[PINFIX_PB_M5210] = {
|
||||||
.type = ALC_FIXUP_VERBS,
|
.type = ALC_FIXUP_VERBS,
|
||||||
.v.verbs = (const struct hda_verb[]) {
|
.v.verbs = (const struct hda_verb[]) {
|
||||||
@ -10706,6 +10715,7 @@ static const struct alc_fixup alc882_fixups[] = {
|
|||||||
|
|
||||||
static struct snd_pci_quirk alc882_fixup_tbl[] = {
|
static struct snd_pci_quirk alc882_fixup_tbl[] = {
|
||||||
SND_PCI_QUIRK(0x1025, 0x0155, "Packard-Bell M5120", PINFIX_PB_M5210),
|
SND_PCI_QUIRK(0x1025, 0x0155, "Packard-Bell M5120", PINFIX_PB_M5210),
|
||||||
|
SND_PCI_QUIRK(0x17aa, 0x3a0d, "Lenovo Y530", PINFIX_LENOVO_Y530),
|
||||||
SND_PCI_QUIRK(0x147b, 0x107a, "Abit AW9D-MAX", PINFIX_ABIT_AW9D_MAX),
|
SND_PCI_QUIRK(0x147b, 0x107a, "Abit AW9D-MAX", PINFIX_ABIT_AW9D_MAX),
|
||||||
SND_PCI_QUIRK(0x1025, 0x0296, "Acer Aspire 7736z", PINFIX_ACER_ASPIRE_7736),
|
SND_PCI_QUIRK(0x1025, 0x0296, "Acer Aspire 7736z", PINFIX_ACER_ASPIRE_7736),
|
||||||
{}
|
{}
|
||||||
|
Loading…
x
Reference in New Issue
Block a user