aboutsummaryrefslogtreecommitdiffstats
path: root/sound
diff options
context:
space:
mode:
authorDaniel T Chen <crimsun@ubuntu.com>2010-10-10 22:39:28 -0400
committerTakashi Iwai <tiwai@suse.de>2010-10-14 03:31:22 -0400
commit2df03514de41f3bbb5623f2e7f2bf594e49cb2ec (patch)
treea20a96cad55b77248ea2f7128d701b5e51597877 /sound
parentbdd9ef24cd343c508ed93f1e08f30d4db595b754 (diff)
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: Daniel T Chen <crimsun@ubuntu.com> Signed-off-by: David Henningsson <david.henningsson@canonical.com> Signed-off-by: Takashi Iwai <tiwai@suse.de>
Diffstat (limited to 'sound')
-rw-r--r--sound/pci/hda/patch_realtek.c8
1 files changed, 8 insertions, 0 deletions
diff --git a/sound/pci/hda/patch_realtek.c b/sound/pci/hda/patch_realtek.c
index b4e0959b1f9f..c41ac30ffc7f 100644
--- a/sound/pci/hda/patch_realtek.c
+++ b/sound/pci/hda/patch_realtek.c
@@ -19233,10 +19233,17 @@ static void alc662_auto_init(struct hda_codec *codec)
19233} 19233}
19234 19234
19235enum { 19235enum {
19236 ALC662_FIXUP_ASPIRE,
19236 ALC662_FIXUP_IDEAPAD, 19237 ALC662_FIXUP_IDEAPAD,
19237}; 19238};
19238 19239
19239static const struct alc_fixup alc662_fixups[] = { 19240static const struct alc_fixup alc662_fixups[] = {
19241 [ALC662_FIXUP_ASPIRE] = {
19242 .pins = (const struct alc_pincfg[]) {
19243 { 0x15, 0x99130112 }, /* subwoofer */
19244 { }
19245 }
19246 },
19240 [ALC662_FIXUP_IDEAPAD] = { 19247 [ALC662_FIXUP_IDEAPAD] = {
19241 .pins = (const struct alc_pincfg[]) { 19248 .pins = (const struct alc_pincfg[]) {
19242 { 0x17, 0x99130112 }, /* subwoofer */ 19249 { 0x17, 0x99130112 }, /* subwoofer */
@@ -19246,6 +19253,7 @@ static const struct alc_fixup alc662_fixups[] = {
19246}; 19253};
19247 19254
19248static struct snd_pci_quirk alc662_fixup_tbl[] = { 19255static struct snd_pci_quirk alc662_fixup_tbl[] = {
19256 SND_PCI_QUIRK(0x1025, 0x038b, "Acer Aspire 8943G", ALC662_FIXUP_ASPIRE),
19249 SND_PCI_QUIRK(0x17aa, 0x38af, "Lenovo Ideapad Y550P", ALC662_FIXUP_IDEAPAD), 19257 SND_PCI_QUIRK(0x17aa, 0x38af, "Lenovo Ideapad Y550P", ALC662_FIXUP_IDEAPAD),
19250 SND_PCI_QUIRK(0x17aa, 0x3a0d, "Lenovo Ideapad Y550", ALC662_FIXUP_IDEAPAD), 19258 SND_PCI_QUIRK(0x17aa, 0x3a0d, "Lenovo Ideapad Y550", ALC662_FIXUP_IDEAPAD),
19251 {} 19259 {}