From: Greg Kroah-Hartman Date: Sun, 8 Sep 2024 12:56:25 +0000 (+0200) Subject: 6.10-stable patches X-Git-Tag: v4.19.322~74 X-Git-Url: http://git.ipfire.org/?a=commitdiff_plain;h=6edf71687aea382bab65ff4f55ce379b9c56fadf;p=thirdparty%2Fkernel%2Fstable-queue.git 6.10-stable patches added patches: alsa-hda-realtek-extend-quirks-for-clevo-v50.patch --- 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 index 00000000000..075501d9a5e --- /dev/null +++ b/queue-6.10/alsa-hda-realtek-extend-quirks-for-clevo-v50.patch @@ -0,0 +1,60 @@ +From 562755501d44cfbbe82703a62cb41502bd067bd1 Mon Sep 17 00:00:00 2001 +From: =?UTF-8?q?Marek=20Marczykowski-G=C3=B3recki?= + +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 + +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 +Cc: +Link: https://patch.msgid.link/20240903124939.6213-1-marmarek@invisiblethingslab.com +Signed-off-by: Takashi Iwai +Signed-off-by: Greg Kroah-Hartman +--- + 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), diff --git a/queue-6.10/series b/queue-6.10/series index ef17f1ed504..387244fc648 100644 --- a/queue-6.10/series +++ b/queue-6.10/series @@ -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