aboutsummaryrefslogtreecommitdiffstats
path: root/sound/pci
diff options
context:
space:
mode:
authorTakashi Iwai <tiwai@suse.de>2014-08-27 02:19:05 -0400
committerTakashi Iwai <tiwai@suse.de>2014-08-27 02:19:05 -0400
commit1a22e7758eabc431d6d8af085dc6e4c5031779a6 (patch)
tree3f35fd405325567ffbe8b6d6146d2c06c3d39b8b /sound/pci
parent94a988a8ab91c0cdabd2431281ec09dc52d92674 (diff)
ALSA: hda - Set up initial pins for Acer Aspire V5
Acer Aspire V5 doesn't set up the pins correctly at the cold boot while the pins are corrected after the warm reboot. This patch gives the proper pin configs statically in the driver as a workaround. Bugzilla: https://bugzilla.kernel.org/show_bug.cgi?id=81561 Signed-off-by: Takashi Iwai <tiwai@suse.de>
Diffstat (limited to 'sound/pci')
-rw-r--r--sound/pci/hda/patch_realtek.c18
1 files changed, 18 insertions, 0 deletions
diff --git a/sound/pci/hda/patch_realtek.c b/sound/pci/hda/patch_realtek.c
index d71270a3f73f..d446ac3137b3 100644
--- a/sound/pci/hda/patch_realtek.c
+++ b/sound/pci/hda/patch_realtek.c
@@ -4408,6 +4408,7 @@ enum {
4408 ALC292_FIXUP_TPT440_DOCK, 4408 ALC292_FIXUP_TPT440_DOCK,
4409 ALC283_FIXUP_BXBT2807_MIC, 4409 ALC283_FIXUP_BXBT2807_MIC,
4410 ALC255_FIXUP_DELL_WMI_MIC_MUTE_LED, 4410 ALC255_FIXUP_DELL_WMI_MIC_MUTE_LED,
4411 ALC282_FIXUP_ASPIRE_V5_PINS,
4411}; 4412};
4412 4413
4413static const struct hda_fixup alc269_fixups[] = { 4414static const struct hda_fixup alc269_fixups[] = {
@@ -4855,6 +4856,22 @@ static const struct hda_fixup alc269_fixups[] = {
4855 .chained_before = true, 4856 .chained_before = true,
4856 .chain_id = ALC255_FIXUP_DELL1_MIC_NO_PRESENCE 4857 .chain_id = ALC255_FIXUP_DELL1_MIC_NO_PRESENCE
4857 }, 4858 },
4859 [ALC282_FIXUP_ASPIRE_V5_PINS] = {
4860 .type = HDA_FIXUP_PINS,
4861 .v.pins = (const struct hda_pintbl[]) {
4862 { 0x12, 0x90a60130 },
4863 { 0x14, 0x90170110 },
4864 { 0x17, 0x40000008 },
4865 { 0x18, 0x411111f0 },
4866 { 0x19, 0x411111f0 },
4867 { 0x1a, 0x411111f0 },
4868 { 0x1b, 0x411111f0 },
4869 { 0x1d, 0x40f89b2d },
4870 { 0x1e, 0x411111f0 },
4871 { 0x21, 0x0321101f },
4872 { },
4873 },
4874 },
4858 4875
4859}; 4876};
4860 4877
@@ -4866,6 +4883,7 @@ static const struct snd_pci_quirk alc269_fixup_tbl[] = {
4866 SND_PCI_QUIRK(0x1025, 0x0740, "Acer AO725", ALC271_FIXUP_HP_GATE_MIC_JACK), 4883 SND_PCI_QUIRK(0x1025, 0x0740, "Acer AO725", ALC271_FIXUP_HP_GATE_MIC_JACK),
4867 SND_PCI_QUIRK(0x1025, 0x0742, "Acer AO756", ALC271_FIXUP_HP_GATE_MIC_JACK), 4884 SND_PCI_QUIRK(0x1025, 0x0742, "Acer AO756", ALC271_FIXUP_HP_GATE_MIC_JACK),
4868 SND_PCI_QUIRK(0x1025, 0x0775, "Acer Aspire E1-572", ALC271_FIXUP_HP_GATE_MIC_JACK_E1_572), 4885 SND_PCI_QUIRK(0x1025, 0x0775, "Acer Aspire E1-572", ALC271_FIXUP_HP_GATE_MIC_JACK_E1_572),
4886 SND_PCI_QUIRK(0x1025, 0x079b, "Acer Aspire V5-573G", ALC282_FIXUP_ASPIRE_V5_PINS),
4869 SND_PCI_QUIRK(0x1028, 0x0470, "Dell M101z", ALC269_FIXUP_DELL_M101Z), 4887 SND_PCI_QUIRK(0x1028, 0x0470, "Dell M101z", ALC269_FIXUP_DELL_M101Z),
4870 SND_PCI_QUIRK(0x1028, 0x05bd, "Dell", ALC269_FIXUP_DELL2_MIC_NO_PRESENCE), 4888 SND_PCI_QUIRK(0x1028, 0x05bd, "Dell", ALC269_FIXUP_DELL2_MIC_NO_PRESENCE),
4871 SND_PCI_QUIRK(0x1028, 0x05be, "Dell", ALC269_FIXUP_DELL2_MIC_NO_PRESENCE), 4889 SND_PCI_QUIRK(0x1028, 0x05be, "Dell", ALC269_FIXUP_DELL2_MIC_NO_PRESENCE),