]> git.ipfire.org Git - thirdparty/kernel/stable-queue.git/commitdiff
5.4-stable patches
authorGreg Kroah-Hartman <gregkh@linuxfoundation.org>
Fri, 5 Mar 2021 12:08:25 +0000 (13:08 +0100)
committerGreg Kroah-Hartman <gregkh@linuxfoundation.org>
Fri, 5 Mar 2021 12:08:25 +0000 (13:08 +0100)
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

queue-5.4/alsa-hda-realtek-add-quirk-for-clevo-nh55rzq.patch [new file with mode: 0644]
queue-5.4/alsa-hda-realtek-add-quirk-for-intel-nuc-10.patch [new file with mode: 0644]
queue-5.4/alsa-hda-realtek-apply-dual-codec-quirks-for-msi-godlike-x570-board.patch [new file with mode: 0644]
queue-5.4/series

diff --git a/queue-5.4/alsa-hda-realtek-add-quirk-for-clevo-nh55rzq.patch b/queue-5.4/alsa-hda-realtek-add-quirk-for-clevo-nh55rzq.patch
new file mode 100644 (file)
index 0000000..16114eb
--- /dev/null
@@ -0,0 +1,37 @@
+From 48698c973e6b4dde94d87cd1ded56d9436e9c97d Mon Sep 17 00:00:00 2001
+From: Eckhart Mohr <e.mohr@tuxedocomputers.com>
+Date: Tue, 2 Mar 2021 17:25:22 +0100
+Subject: ALSA: hda/realtek: Add quirk for Clevo NH55RZQ
+
+From: Eckhart Mohr <e.mohr@tuxedocomputers.com>
+
+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 <e.mohr@tuxedocomputers.com>
+Co-developed-by: Werner Sembach <wse@tuxedocomputers.com>
+Signed-off-by: Werner Sembach <wse@tuxedocomputers.com>
+Cc: <stable@vger.kernel.org>
+Link: https://lore.kernel.org/r/0eee6545-5169-ef08-6cfa-5def8cd48c86@tuxedocomputers.com
+Signed-off-by: Takashi Iwai <tiwai@suse.de>
+Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
+---
+ 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
+@@ -8001,6 +8001,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.4/alsa-hda-realtek-add-quirk-for-intel-nuc-10.patch b/queue-5.4/alsa-hda-realtek-add-quirk-for-intel-nuc-10.patch
new file mode 100644 (file)
index 0000000..e460984
--- /dev/null
@@ -0,0 +1,63 @@
+From 73e7161eab5dee98114987239ec9c87fe8034ddb Mon Sep 17 00:00:00 2001
+From: Werner Sembach <wse@tuxedocomputers.com>
+Date: Tue, 2 Mar 2021 19:04:14 +0100
+Subject: ALSA: hda/realtek: Add quirk for Intel NUC 10
+
+From: Werner Sembach <wse@tuxedocomputers.com>
+
+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 <e.mohr@tuxedocomputers.com>
+Signed-off-by: Eckhart Mohr <e.mohr@tuxedocomputers.com>
+Signed-off-by: Werner Sembach <wse@tuxedocomputers.com>
+Cc: <stable@vger.kernel.org>
+Link: https://lore.kernel.org/r/20210302180414.23194-1-wse@tuxedocomputers.com
+Signed-off-by: Takashi Iwai <tiwai@suse.de>
+Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
+---
+ 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
+@@ -6320,6 +6320,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,
+@@ -7697,6 +7698,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[]) {
+@@ -8096,6 +8106,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.4/alsa-hda-realtek-apply-dual-codec-quirks-for-msi-godlike-x570-board.patch b/queue-5.4/alsa-hda-realtek-apply-dual-codec-quirks-for-msi-godlike-x570-board.patch
new file mode 100644 (file)
index 0000000..b208e33
--- /dev/null
@@ -0,0 +1,32 @@
+From 26af17722a07597d3e556eda92c6fce8d528bc9f Mon Sep 17 00:00:00 2001
+From: Takashi Iwai <tiwai@suse.de>
+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 <tiwai@suse.de>
+
+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: <stable@vger.kernel.org>
+Link: https://lore.kernel.org/r/20210303142346.28182-1-tiwai@suse.de
+Signed-off-by: Takashi Iwai <tiwai@suse.de>
+Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
+---
+ 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
+@@ -2522,6 +2522,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),
index 939d16d3349479fc081f87851419aa3910323654..3e015f70fd316eeca28a258a7d916b2dd1b1b7b6 100644 (file)
@@ -67,3 +67,6 @@ xen-netback-respect-gnttab_map_refs-s-return-value.patch
 zsmalloc-account-the-number-of-compacted-pages-correctly.patch
 swap-fix-swapfile-read-write-offset.patch
 media-v4l-ioctl-fix-memory-leak-in-video_usercopy.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