Commit 2df03514 authored by Daniel T Chen's avatar Daniel T Chen Committed by Takashi Iwai

ALSA: hda: Add speaker pin to automute Acer Aspire 8943G

BugLink: https://bugs.launchpad.net/bugs/656625

Add clause for handling Acer Aspire 8943G's subwoofer as additional
speaker pin for automuting.

Reported-by: RussianNeuroMancer
Cc: stable@kernel.org
Signed-off-by: default avatarDaniel T Chen <crimsun@ubuntu.com>
Signed-off-by: default avatarDavid Henningsson <david.henningsson@canonical.com>
Signed-off-by: default avatarTakashi Iwai <tiwai@suse.de>
parent bdd9ef24
...@@ -19233,10 +19233,17 @@ static void alc662_auto_init(struct hda_codec *codec) ...@@ -19233,10 +19233,17 @@ static void alc662_auto_init(struct hda_codec *codec)
} }
enum { enum {
ALC662_FIXUP_ASPIRE,
ALC662_FIXUP_IDEAPAD, ALC662_FIXUP_IDEAPAD,
}; };
static const struct alc_fixup alc662_fixups[] = { static const struct alc_fixup alc662_fixups[] = {
[ALC662_FIXUP_ASPIRE] = {
.pins = (const struct alc_pincfg[]) {
{ 0x15, 0x99130112 }, /* subwoofer */
{ }
}
},
[ALC662_FIXUP_IDEAPAD] = { [ALC662_FIXUP_IDEAPAD] = {
.pins = (const struct alc_pincfg[]) { .pins = (const struct alc_pincfg[]) {
{ 0x17, 0x99130112 }, /* subwoofer */ { 0x17, 0x99130112 }, /* subwoofer */
...@@ -19246,6 +19253,7 @@ static const struct alc_fixup alc662_fixups[] = { ...@@ -19246,6 +19253,7 @@ static const struct alc_fixup alc662_fixups[] = {
}; };
static struct snd_pci_quirk alc662_fixup_tbl[] = { static struct snd_pci_quirk alc662_fixup_tbl[] = {
SND_PCI_QUIRK(0x1025, 0x038b, "Acer Aspire 8943G", ALC662_FIXUP_ASPIRE),
SND_PCI_QUIRK(0x17aa, 0x38af, "Lenovo Ideapad Y550P", ALC662_FIXUP_IDEAPAD), SND_PCI_QUIRK(0x17aa, 0x38af, "Lenovo Ideapad Y550P", ALC662_FIXUP_IDEAPAD),
SND_PCI_QUIRK(0x17aa, 0x3a0d, "Lenovo Ideapad Y550", ALC662_FIXUP_IDEAPAD), SND_PCI_QUIRK(0x17aa, 0x3a0d, "Lenovo Ideapad Y550", ALC662_FIXUP_IDEAPAD),
{} {}
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment