]> git.ipfire.org Git - thirdparty/kernel/stable-queue.git/commitdiff
4.19-stable patches
authorGreg Kroah-Hartman <gregkh@linuxfoundation.org>
Fri, 5 Mar 2021 12:08:08 +0000 (13:08 +0100)
committerGreg Kroah-Hartman <gregkh@linuxfoundation.org>
Fri, 5 Mar 2021 12:08:08 +0000 (13:08 +0100)
added patches:
alsa-hda-realtek-add-quirk-for-clevo-nh55rzq.patch
alsa-hda-realtek-apply-dual-codec-quirks-for-msi-godlike-x570-board.patch

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

diff --git a/queue-4.19/alsa-hda-realtek-add-quirk-for-clevo-nh55rzq.patch b/queue-4.19/alsa-hda-realtek-add-quirk-for-clevo-nh55rzq.patch
new file mode 100644 (file)
index 0000000..a12f8d1
--- /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
+@@ -7179,6 +7179,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-4.19/alsa-hda-realtek-apply-dual-codec-quirks-for-msi-godlike-x570-board.patch b/queue-4.19/alsa-hda-realtek-apply-dual-codec-quirks-for-msi-godlike-x570-board.patch
new file mode 100644 (file)
index 0000000..d9bfdee
--- /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
+@@ -2507,6 +2507,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 5bd238d4b6e15f0ea83252709323a21998d9db26..bea20a023423c1ca795a9b6a7e1c8fbcf358fb44 100644 (file)
@@ -48,3 +48,5 @@ 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-apply-dual-codec-quirks-for-msi-godlike-x570-board.patch