From: Greg Kroah-Hartman Date: Fri, 5 Mar 2021 12:08:57 +0000 (+0100) Subject: 5.11-stable patches X-Git-Tag: v4.4.260~4 X-Git-Url: http://git.ipfire.org/gitweb.cgi?a=commitdiff_plain;h=967f085649398f462a4e8b8c906ccc2a219582e6;p=thirdparty%2Fkernel%2Fstable-queue.git 5.11-stable patches added patches: alsa-hda-realtek-add-quirk-for-clevo-nh55rzq.patch alsa-hda-realtek-add-quirk-for-intel-nuc-10.patch alsa-hda-realtek-apply-dual-codec-quirks-for-msi-godlike-x570-board.patch --- diff --git a/queue-5.11/alsa-hda-realtek-add-quirk-for-clevo-nh55rzq.patch b/queue-5.11/alsa-hda-realtek-add-quirk-for-clevo-nh55rzq.patch new file mode 100644 index 00000000000..2fccc3c1db2 --- /dev/null +++ b/queue-5.11/alsa-hda-realtek-add-quirk-for-clevo-nh55rzq.patch @@ -0,0 +1,37 @@ +From 48698c973e6b4dde94d87cd1ded56d9436e9c97d Mon Sep 17 00:00:00 2001 +From: Eckhart Mohr +Date: Tue, 2 Mar 2021 17:25:22 +0100 +Subject: ALSA: hda/realtek: Add quirk for Clevo NH55RZQ + +From: Eckhart Mohr + +commit 48698c973e6b4dde94d87cd1ded56d9436e9c97d upstream. + +This applies a SND_PCI_QUIRK(...) to the Clevo NH55RZQ barebone. This +fixes the issue of the device not recognizing a pluged in microphone. + +The device has both, a microphone only jack, and a speaker + microphone +combo jack. The combo jack already works. The microphone-only jack does +not recognize when a device is pluged in without this patch. + +Signed-off-by: Eckhart Mohr +Co-developed-by: Werner Sembach +Signed-off-by: Werner Sembach +Cc: +Link: https://lore.kernel.org/r/0eee6545-5169-ef08-6cfa-5def8cd48c86@tuxedocomputers.com +Signed-off-by: Takashi Iwai +Signed-off-by: Greg Kroah-Hartman +--- + sound/pci/hda/patch_realtek.c | 1 + + 1 file changed, 1 insertion(+) + +--- a/sound/pci/hda/patch_realtek.c ++++ b/sound/pci/hda/patch_realtek.c +@@ -8128,6 +8128,7 @@ static const struct snd_pci_quirk alc269 + SND_PCI_QUIRK(0x1558, 0x8551, "System76 Gazelle (gaze14)", ALC293_FIXUP_SYSTEM76_MIC_NO_PRESENCE), + SND_PCI_QUIRK(0x1558, 0x8560, "System76 Gazelle (gaze14)", ALC269_FIXUP_HEADSET_MIC), + SND_PCI_QUIRK(0x1558, 0x8561, "System76 Gazelle (gaze14)", ALC269_FIXUP_HEADSET_MIC), ++ SND_PCI_QUIRK(0x1558, 0x8562, "Clevo NH[5|7][0-9]RZ[Q]", ALC269_FIXUP_DMIC), + SND_PCI_QUIRK(0x1558, 0x8668, "Clevo NP50B[BE]", ALC293_FIXUP_SYSTEM76_MIC_NO_PRESENCE), + SND_PCI_QUIRK(0x1558, 0x8680, "Clevo NJ50LU", ALC293_FIXUP_SYSTEM76_MIC_NO_PRESENCE), + SND_PCI_QUIRK(0x1558, 0x8686, "Clevo NH50[CZ]U", ALC293_FIXUP_SYSTEM76_MIC_NO_PRESENCE), diff --git a/queue-5.11/alsa-hda-realtek-add-quirk-for-intel-nuc-10.patch b/queue-5.11/alsa-hda-realtek-add-quirk-for-intel-nuc-10.patch new file mode 100644 index 00000000000..8cc29b6b11f --- /dev/null +++ b/queue-5.11/alsa-hda-realtek-add-quirk-for-intel-nuc-10.patch @@ -0,0 +1,63 @@ +From 73e7161eab5dee98114987239ec9c87fe8034ddb Mon Sep 17 00:00:00 2001 +From: Werner Sembach +Date: Tue, 2 Mar 2021 19:04:14 +0100 +Subject: ALSA: hda/realtek: Add quirk for Intel NUC 10 + +From: Werner Sembach + +commit 73e7161eab5dee98114987239ec9c87fe8034ddb upstream. + +This adds a new SND_PCI_QUIRK(...) and applies it to the Intel NUC 10 +devices. This fixes the issue of the devices not having audio input and +output on the headset jack because the kernel does not recognize when +something is plugged in. + +The new quirk was inspired by the quirk for the Intel NUC 8 devices, but +it turned out that the NUC 10 uses another pin. This information was +acquired by black box testing likely pins. + +Co-developed-by: Eckhart Mohr +Signed-off-by: Eckhart Mohr +Signed-off-by: Werner Sembach +Cc: +Link: https://lore.kernel.org/r/20210302180414.23194-1-wse@tuxedocomputers.com +Signed-off-by: Takashi Iwai +Signed-off-by: Greg Kroah-Hartman +--- + sound/pci/hda/patch_realtek.c | 11 +++++++++++ + 1 file changed, 11 insertions(+) + +--- a/sound/pci/hda/patch_realtek.c ++++ b/sound/pci/hda/patch_realtek.c +@@ -6396,6 +6396,7 @@ enum { + ALC269_FIXUP_LEMOTE_A1802, + ALC269_FIXUP_LEMOTE_A190X, + ALC256_FIXUP_INTEL_NUC8_RUGGED, ++ ALC256_FIXUP_INTEL_NUC10, + ALC255_FIXUP_XIAOMI_HEADSET_MIC, + ALC274_FIXUP_HP_MIC, + ALC274_FIXUP_HP_HEADSET_MIC, +@@ -7782,6 +7783,15 @@ static const struct hda_fixup alc269_fix + .chained = true, + .chain_id = ALC269_FIXUP_HEADSET_MODE + }, ++ [ALC256_FIXUP_INTEL_NUC10] = { ++ .type = HDA_FIXUP_PINS, ++ .v.pins = (const struct hda_pintbl[]) { ++ { 0x19, 0x01a1913c }, /* use as headset mic, without its own jack detect */ ++ { } ++ }, ++ .chained = true, ++ .chain_id = ALC269_FIXUP_HEADSET_MODE ++ }, + [ALC255_FIXUP_XIAOMI_HEADSET_MIC] = { + .type = HDA_FIXUP_VERBS, + .v.verbs = (const struct hda_verb[]) { +@@ -8223,6 +8233,7 @@ static const struct snd_pci_quirk alc269 + SND_PCI_QUIRK(0x1c06, 0x2013, "Lemote A1802", ALC269_FIXUP_LEMOTE_A1802), + SND_PCI_QUIRK(0x1c06, 0x2015, "Lemote A190X", ALC269_FIXUP_LEMOTE_A190X), + SND_PCI_QUIRK(0x8086, 0x2080, "Intel NUC 8 Rugged", ALC256_FIXUP_INTEL_NUC8_RUGGED), ++ SND_PCI_QUIRK(0x8086, 0x2081, "Intel NUC 10", ALC256_FIXUP_INTEL_NUC10), + + #if 0 + /* Below is a quirk table taken from the old code. diff --git a/queue-5.11/alsa-hda-realtek-apply-dual-codec-quirks-for-msi-godlike-x570-board.patch b/queue-5.11/alsa-hda-realtek-apply-dual-codec-quirks-for-msi-godlike-x570-board.patch new file mode 100644 index 00000000000..557f16bedf6 --- /dev/null +++ b/queue-5.11/alsa-hda-realtek-apply-dual-codec-quirks-for-msi-godlike-x570-board.patch @@ -0,0 +1,32 @@ +From 26af17722a07597d3e556eda92c6fce8d528bc9f Mon Sep 17 00:00:00 2001 +From: Takashi Iwai +Date: Wed, 3 Mar 2021 15:23:46 +0100 +Subject: ALSA: hda/realtek: Apply dual codec quirks for MSI Godlike X570 board + +From: Takashi Iwai + +commit 26af17722a07597d3e556eda92c6fce8d528bc9f upstream. + +There is another MSI board (1462:cc34) that has dual Realtek codecs, +and we need to apply the existing quirk for fixing the conflicts of +Master control. + +BugLink: https://bugzilla.kernel.org/show_bug.cgi?id=211743 +Cc: +Link: https://lore.kernel.org/r/20210303142346.28182-1-tiwai@suse.de +Signed-off-by: Takashi Iwai +Signed-off-by: Greg Kroah-Hartman +--- + sound/pci/hda/patch_realtek.c | 1 + + 1 file changed, 1 insertion(+) + +--- a/sound/pci/hda/patch_realtek.c ++++ b/sound/pci/hda/patch_realtek.c +@@ -2532,6 +2532,7 @@ static const struct snd_pci_quirk alc882 + SND_PCI_QUIRK(0x1462, 0x1276, "MSI-GL73", ALC1220_FIXUP_CLEVO_P950), + SND_PCI_QUIRK(0x1462, 0x1293, "MSI-GP65", ALC1220_FIXUP_CLEVO_P950), + SND_PCI_QUIRK(0x1462, 0x7350, "MSI-7350", ALC889_FIXUP_CD), ++ SND_PCI_QUIRK(0x1462, 0xcc34, "MSI Godlike X570", ALC1220_FIXUP_GB_DUAL_CODECS), + SND_PCI_QUIRK(0x1462, 0xda57, "MSI Z270-Gaming", ALC1220_FIXUP_GB_DUAL_CODECS), + SND_PCI_QUIRK_VENDOR(0x1462, "MSI", ALC882_FIXUP_GPIO3), + SND_PCI_QUIRK(0x147b, 0x107a, "Abit AW9D-MAX", ALC882_FIXUP_ABIT_AW9D_MAX), diff --git a/queue-5.11/series b/queue-5.11/series index 440abd7822d..ab00965aab0 100644 --- a/queue-5.11/series +++ b/queue-5.11/series @@ -99,3 +99,6 @@ tty-clean-up-legacy-leftovers-from-n_tty-line-discipline.patch tty-teach-n_tty-line-discipline-about-the-new-cookie-continuations.patch tty-teach-the-n_tty-icanon-case-about-the-new-cookie-continuations-too.patch phy-mediatek-add-missing-module_device_table.patch +alsa-hda-realtek-add-quirk-for-clevo-nh55rzq.patch +alsa-hda-realtek-add-quirk-for-intel-nuc-10.patch +alsa-hda-realtek-apply-dual-codec-quirks-for-msi-godlike-x570-board.patch