From 4d6e7c358e61f2053f945423718d0923b6413f99 Mon Sep 17 00:00:00 2001 From: Koen Kooi Date: Thu, 1 Mar 2012 09:35:40 +0100 Subject: linux-ti33x-psp 3.2: update to 3.2.9 and add 2 patches from PSP tree Signed-off-by: Koen Kooi Signed-off-by: Denys Dmytriyenko --- ...x-silent-speaker-output-on-Acer-Aspire-69.patch | 78 ++++++++++++++++++++++ 1 file changed, 78 insertions(+) create mode 100644 recipes-kernel/linux/linux-ti33x-psp-3.2/3.2.7/0025-ALSA-hda-Fix-silent-speaker-output-on-Acer-Aspire-69.patch (limited to 'recipes-kernel/linux/linux-ti33x-psp-3.2/3.2.7/0025-ALSA-hda-Fix-silent-speaker-output-on-Acer-Aspire-69.patch') diff --git a/recipes-kernel/linux/linux-ti33x-psp-3.2/3.2.7/0025-ALSA-hda-Fix-silent-speaker-output-on-Acer-Aspire-69.patch b/recipes-kernel/linux/linux-ti33x-psp-3.2/3.2.7/0025-ALSA-hda-Fix-silent-speaker-output-on-Acer-Aspire-69.patch new file mode 100644 index 00000000..8fb6bfde --- /dev/null +++ b/recipes-kernel/linux/linux-ti33x-psp-3.2/3.2.7/0025-ALSA-hda-Fix-silent-speaker-output-on-Acer-Aspire-69.patch @@ -0,0 +1,78 @@ +From 2edcb814b345ab919010974e88a4bbd407bf4db8 Mon Sep 17 00:00:00 2001 +From: Takashi Iwai +Date: Mon, 13 Feb 2012 15:25:07 +0100 +Subject: [PATCH 25/30] ALSA: hda - Fix silent speaker output on Acer Aspire + 6935 + +commit 02a237b24d57e2e2d5402c92549e9e792aa24359 upstream. + +Since 3.2 kernel, the driver starts trying to assign the multi-io DACs +before the speaker, thus it assigns DAC2/3 for multi-io and DAC4 for +the speaker for a standard laptop setup like a HP, a speaker, a mic-in +and a line-in. However, on Acer Aspire 6935, it seems that the +speaker pin 0x14 must be connected with either DAC1 or 2; otherwise it +results in silence by some reason, although the codec itself allows +the routing to DAC3/4. + +As a workaround, the connection list of each pin is reduced to be +mapped to either only DAC1/2 or DAC3/4, so that the compatible +assignment as in kernel 3.1 is achieved. + +Bugzilla: https://bugzilla.kernel.org/show_bug.cgi?id=42740 + +Signed-off-by: Takashi Iwai +Signed-off-by: Greg Kroah-Hartman +--- + sound/pci/hda/patch_realtek.c | 23 +++++++++++++++++++++++ + 1 files changed, 23 insertions(+), 0 deletions(-) + +diff --git a/sound/pci/hda/patch_realtek.c b/sound/pci/hda/patch_realtek.c +index 34e5fcc..9c197d4 100644 +--- a/sound/pci/hda/patch_realtek.c ++++ b/sound/pci/hda/patch_realtek.c +@@ -4213,8 +4213,26 @@ enum { + PINFIX_PB_M5210, + PINFIX_ACER_ASPIRE_7736, + PINFIX_ASUS_W90V, ++ ALC889_FIXUP_DAC_ROUTE, + }; + ++/* Fix the connection of some pins for ALC889: ++ * At least, Acer Aspire 5935 shows the connections to DAC3/4 don't ++ * work correctly (bko#42740) ++ */ ++static void alc889_fixup_dac_route(struct hda_codec *codec, ++ const struct alc_fixup *fix, int action) ++{ ++ if (action == ALC_FIXUP_ACT_PRE_PROBE) { ++ hda_nid_t conn1[2] = { 0x0c, 0x0d }; ++ hda_nid_t conn2[2] = { 0x0e, 0x0f }; ++ snd_hda_override_conn_list(codec, 0x14, 2, conn1); ++ snd_hda_override_conn_list(codec, 0x15, 2, conn1); ++ snd_hda_override_conn_list(codec, 0x18, 2, conn2); ++ snd_hda_override_conn_list(codec, 0x1a, 2, conn2); ++ } ++} ++ + static const struct alc_fixup alc882_fixups[] = { + [PINFIX_ABIT_AW9D_MAX] = { + .type = ALC_FIXUP_PINS, +@@ -4251,10 +4269,15 @@ static const struct alc_fixup alc882_fixups[] = { + { } + } + }, ++ [ALC889_FIXUP_DAC_ROUTE] = { ++ .type = ALC_FIXUP_FUNC, ++ .v.func = alc889_fixup_dac_route, ++ }, + }; + + static const struct snd_pci_quirk alc882_fixup_tbl[] = { + SND_PCI_QUIRK(0x1025, 0x0155, "Packard-Bell M5120", PINFIX_PB_M5210), ++ SND_PCI_QUIRK(0x1025, 0x0259, "Acer Aspire 5935", ALC889_FIXUP_DAC_ROUTE), + SND_PCI_QUIRK(0x1043, 0x1873, "ASUS W90V", PINFIX_ASUS_W90V), + SND_PCI_QUIRK(0x17aa, 0x3a0d, "Lenovo Y530", PINFIX_LENOVO_Y530), + SND_PCI_QUIRK(0x147b, 0x107a, "Abit AW9D-MAX", PINFIX_ABIT_AW9D_MAX), +-- +1.7.7.4 + -- cgit v1.2.3-54-g00ecf