]> git.ipfire.org Git - thirdparty/kernel/stable-queue.git/commitdiff
6.10-stable patches
authorGreg Kroah-Hartman <gregkh@linuxfoundation.org>
Sun, 8 Sep 2024 12:56:25 +0000 (14:56 +0200)
committerGreg Kroah-Hartman <gregkh@linuxfoundation.org>
Sun, 8 Sep 2024 12:56:25 +0000 (14:56 +0200)
added patches:
alsa-hda-realtek-extend-quirks-for-clevo-v50.patch

queue-6.10/alsa-hda-realtek-extend-quirks-for-clevo-v50.patch [new file with mode: 0644]
queue-6.10/series

diff --git a/queue-6.10/alsa-hda-realtek-extend-quirks-for-clevo-v50.patch b/queue-6.10/alsa-hda-realtek-extend-quirks-for-clevo-v50.patch
new file mode 100644 (file)
index 0000000..075501d
--- /dev/null
@@ -0,0 +1,60 @@
+From 562755501d44cfbbe82703a62cb41502bd067bd1 Mon Sep 17 00:00:00 2001
+From: =?UTF-8?q?Marek=20Marczykowski-G=C3=B3recki?=
+ <marmarek@invisiblethingslab.com>
+Date: Tue, 3 Sep 2024 14:49:31 +0200
+Subject: ALSA: hda/realtek: extend quirks for Clevo V5[46]0
+MIME-Version: 1.0
+Content-Type: text/plain; charset=UTF-8
+Content-Transfer-Encoding: 8bit
+
+From: Marek Marczykowski-Górecki <marmarek@invisiblethingslab.com>
+
+commit 562755501d44cfbbe82703a62cb41502bd067bd1 upstream.
+
+The mic in those laptops suffers too high gain resulting in mostly (fan
+or else) noise being recorded. In addition to the existing fixup about
+mic detection, apply also limiting its boost. While at it, extend the
+quirk to also V5[46]0TNE models, which have the same issue.
+
+Signed-off-by: Marek Marczykowski-Górecki <marmarek@invisiblethingslab.com>
+Cc: <stable@vger.kernel.org>
+Link: https://patch.msgid.link/20240903124939.6213-1-marmarek@invisiblethingslab.com
+Signed-off-by: Takashi Iwai <tiwai@suse.de>
+Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
+---
+ sound/pci/hda/patch_realtek.c |   10 +++++++++-
+ 1 file changed, 9 insertions(+), 1 deletion(-)
+
+--- a/sound/pci/hda/patch_realtek.c
++++ b/sound/pci/hda/patch_realtek.c
+@@ -7526,6 +7526,7 @@ enum {
+       ALC256_FIXUP_CHROME_BOOK,
+       ALC287_FIXUP_LENOVO_14ARP8_LEGION_IAH7,
+       ALC287_FIXUP_LENOVO_SSID_17AA3820,
++      ALC245_FIXUP_CLEVO_NOISY_MIC,
+ };
+ /* A special fixup for Lenovo C940 and Yoga Duet 7;
+@@ -9857,6 +9858,12 @@ static const struct hda_fixup alc269_fix
+               .type = HDA_FIXUP_FUNC,
+               .v.func = alc287_fixup_lenovo_ssid_17aa3820,
+       },
++      [ALC245_FIXUP_CLEVO_NOISY_MIC] = {
++              .type = HDA_FIXUP_FUNC,
++              .v.func = alc269_fixup_limit_int_mic_boost,
++              .chained = true,
++              .chain_id = ALC256_FIXUP_SYSTEM76_MIC_NO_PRESENCE,
++      },
+ };
+ static const struct snd_pci_quirk alc269_fixup_tbl[] = {
+@@ -10496,7 +10503,8 @@ static const struct snd_pci_quirk alc269
+       SND_PCI_QUIRK(0x1558, 0xa600, "Clevo NL50NU", ALC293_FIXUP_SYSTEM76_MIC_NO_PRESENCE),
+       SND_PCI_QUIRK(0x1558, 0xa650, "Clevo NP[567]0SN[CD]", ALC256_FIXUP_SYSTEM76_MIC_NO_PRESENCE),
+       SND_PCI_QUIRK(0x1558, 0xa671, "Clevo NP70SN[CDE]", ALC256_FIXUP_SYSTEM76_MIC_NO_PRESENCE),
+-      SND_PCI_QUIRK(0x1558, 0xa763, "Clevo V54x_6x_TU", ALC256_FIXUP_SYSTEM76_MIC_NO_PRESENCE),
++      SND_PCI_QUIRK(0x1558, 0xa741, "Clevo V54x_6x_TNE", ALC245_FIXUP_CLEVO_NOISY_MIC),
++      SND_PCI_QUIRK(0x1558, 0xa763, "Clevo V54x_6x_TU", ALC245_FIXUP_CLEVO_NOISY_MIC),
+       SND_PCI_QUIRK(0x1558, 0xb018, "Clevo NP50D[BE]", ALC293_FIXUP_SYSTEM76_MIC_NO_PRESENCE),
+       SND_PCI_QUIRK(0x1558, 0xb019, "Clevo NH77D[BE]Q", ALC293_FIXUP_SYSTEM76_MIC_NO_PRESENCE),
+       SND_PCI_QUIRK(0x1558, 0xb022, "Clevo NH77D[DC][QW]", ALC293_FIXUP_SYSTEM76_MIC_NO_PRESENCE),
index ef17f1ed504d9031cf4f809c57eb09cab0456913..387244fc6485028fdcdf09c6d43a067aae1830b0 100644 (file)
@@ -89,3 +89,4 @@ drm-imagination-free-pvr_vm_gpuva-after-unlink.patch
 drm-amdgpu-always-allocate-cleared-vram-for-gem-allocations.patch
 drm-i915-do-not-attempt-to-load-the-gsc-multiple-times.patch
 drm-amd-display-lock-dc-and-exit-ips-when-changing-backlight.patch
+alsa-hda-realtek-extend-quirks-for-clevo-v50.patch