From defe710912e2f7e1c3b9880ff10ab6e9a64c5815 Mon Sep 17 00:00:00 2001 From: Greg Kroah-Hartman Date: Fri, 5 Mar 2021 13:08:08 +0100 Subject: [PATCH] 4.19-stable patches added patches: alsa-hda-realtek-add-quirk-for-clevo-nh55rzq.patch alsa-hda-realtek-apply-dual-codec-quirks-for-msi-godlike-x570-board.patch --- ...-realtek-add-quirk-for-clevo-nh55rzq.patch | 37 +++++++++++++++++++ ...ec-quirks-for-msi-godlike-x570-board.patch | 32 ++++++++++++++++ queue-4.19/series | 2 + 3 files changed, 71 insertions(+) create mode 100644 queue-4.19/alsa-hda-realtek-add-quirk-for-clevo-nh55rzq.patch create mode 100644 queue-4.19/alsa-hda-realtek-apply-dual-codec-quirks-for-msi-godlike-x570-board.patch 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 index 00000000000..a12f8d13d10 --- /dev/null +++ b/queue-4.19/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 +@@ -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 index 00000000000..d9bfdeeb8e3 --- /dev/null +++ b/queue-4.19/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 +@@ -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), diff --git a/queue-4.19/series b/queue-4.19/series index 5bd238d4b6e..bea20a02342 100644 --- a/queue-4.19/series +++ b/queue-4.19/series @@ -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 -- 2.47.3