From a84896b8563e0e92da1a474313fb351caa130c0b Mon Sep 17 00:00:00 2001 From: Greg Kroah-Hartman Date: Thu, 10 Oct 2013 16:17:21 -0700 Subject: [PATCH] 3.10-stable patches added patches: alsa-hda-fix-gpio-for-acer-aspire-3830tg.patch --- ...-hda-fix-gpio-for-acer-aspire-3830tg.patch | 58 +++++++++++++++++++ queue-3.10/series | 1 + 2 files changed, 59 insertions(+) create mode 100644 queue-3.10/alsa-hda-fix-gpio-for-acer-aspire-3830tg.patch diff --git a/queue-3.10/alsa-hda-fix-gpio-for-acer-aspire-3830tg.patch b/queue-3.10/alsa-hda-fix-gpio-for-acer-aspire-3830tg.patch new file mode 100644 index 00000000000..4c3194228ae --- /dev/null +++ b/queue-3.10/alsa-hda-fix-gpio-for-acer-aspire-3830tg.patch @@ -0,0 +1,58 @@ +From 4a4370442c996be0fd08234a167c8a127c2488bb Mon Sep 17 00:00:00 2001 +From: Takashi Iwai +Date: Mon, 30 Sep 2013 12:13:44 +0200 +Subject: ALSA: hda - Fix GPIO for Acer Aspire 3830TG + +From: Takashi Iwai + +commit 4a4370442c996be0fd08234a167c8a127c2488bb upstream. + +Acer Aspire 3830TG seems requiring GPIO bit 0 as the primary mute +control. When a machine is booted after Windows 8, the GPIO pin is +turned off and it results in the silent output. + +This patch adds the manual fixup of GPIO bit 0 for this model. + +Reported-by: Christopher +Signed-off-by: Takashi Iwai +Signed-off-by: Greg Kroah-Hartman + + +--- + sound/pci/hda/patch_conexant.c | 11 +++++++++++ + 1 file changed, 11 insertions(+) + +--- a/sound/pci/hda/patch_conexant.c ++++ b/sound/pci/hda/patch_conexant.c +@@ -3225,6 +3225,7 @@ enum { + CXT_PINCFG_LEMOTE_A1205, + CXT_FIXUP_STEREO_DMIC, + CXT_FIXUP_INC_MIC_BOOST, ++ CXT_FIXUP_GPIO1, + }; + + static void cxt_fixup_stereo_dmic(struct hda_codec *codec, +@@ -3303,6 +3304,15 @@ static const struct hda_fixup cxt_fixups + .type = HDA_FIXUP_FUNC, + .v.func = cxt5066_increase_mic_boost, + }, ++ [CXT_FIXUP_GPIO1] = { ++ .type = HDA_FIXUP_VERBS, ++ .v.verbs = (const struct hda_verb[]) { ++ { 0x01, AC_VERB_SET_GPIO_MASK, 0x01 }, ++ { 0x01, AC_VERB_SET_GPIO_DIRECTION, 0x01 }, ++ { 0x01, AC_VERB_SET_GPIO_DATA, 0x01 }, ++ { } ++ }, ++ }, + }; + + static const struct snd_pci_quirk cxt5051_fixups[] = { +@@ -3312,6 +3322,7 @@ static const struct snd_pci_quirk cxt505 + + static const struct snd_pci_quirk cxt5066_fixups[] = { + SND_PCI_QUIRK(0x1025, 0x0543, "Acer Aspire One 522", CXT_FIXUP_STEREO_DMIC), ++ SND_PCI_QUIRK(0x1025, 0x054c, "Acer Aspire 3830TG", CXT_FIXUP_GPIO1), + SND_PCI_QUIRK(0x17aa, 0x20f2, "Lenovo T400", CXT_PINCFG_LENOVO_TP410), + SND_PCI_QUIRK(0x17aa, 0x215e, "Lenovo T410", CXT_PINCFG_LENOVO_TP410), + SND_PCI_QUIRK(0x17aa, 0x215f, "Lenovo T510", CXT_PINCFG_LENOVO_TP410), diff --git a/queue-3.10/series b/queue-3.10/series index 098cd01da58..6e63f2ff888 100644 --- a/queue-3.10/series +++ b/queue-3.10/series @@ -89,3 +89,4 @@ acpi-ipmi-fix-atomic-context-requirement-of-ipmi_msg_handler.patch xfs-fix-node-forward-in-xfs_node_toosmall.patch drm-nouveau-bios-init-stub-opcode-0xaa.patch irq-force-hardirq-exit-s-softirq-processing-on-its-own-stack.patch +alsa-hda-fix-gpio-for-acer-aspire-3830tg.patch -- 2.47.2