From 64be1f01d459e04adbc239dc43218712cc7606d3 Mon Sep 17 00:00:00 2001 From: Greg Kroah-Hartman Date: Mon, 8 Apr 2024 10:43:40 +0200 Subject: [PATCH] 5.4-stable patches added patches: alsa-hda-realtek-update-panasonic-cf-sz6-quirk-to-support-headset-with-microphone.patch --- ...k-to-support-headset-with-microphone.patch | 43 +++++++++++++++++++ queue-5.4/series | 1 + 2 files changed, 44 insertions(+) create mode 100644 queue-5.4/alsa-hda-realtek-update-panasonic-cf-sz6-quirk-to-support-headset-with-microphone.patch diff --git a/queue-5.4/alsa-hda-realtek-update-panasonic-cf-sz6-quirk-to-support-headset-with-microphone.patch b/queue-5.4/alsa-hda-realtek-update-panasonic-cf-sz6-quirk-to-support-headset-with-microphone.patch new file mode 100644 index 0000000000..af23b51dbf --- /dev/null +++ b/queue-5.4/alsa-hda-realtek-update-panasonic-cf-sz6-quirk-to-support-headset-with-microphone.patch @@ -0,0 +1,43 @@ +From 1576f263ee2147dc395531476881058609ad3d38 Mon Sep 17 00:00:00 2001 +From: I Gede Agastya Darma Laksana +Date: Tue, 2 Apr 2024 00:46:02 +0700 +Subject: ALSA: hda/realtek: Update Panasonic CF-SZ6 quirk to support headset with microphone + +From: I Gede Agastya Darma Laksana + +commit 1576f263ee2147dc395531476881058609ad3d38 upstream. + +This patch addresses an issue with the Panasonic CF-SZ6's existing quirk, +specifically its headset microphone functionality. Previously, the quirk +used ALC269_FIXUP_HEADSET_MODE, which does not support the CF-SZ6's design +of a single 3.5mm jack for both mic and audio output effectively. The +device uses pin 0x19 for the headset mic without jack detection. + +Following verification on the CF-SZ6 and discussions with the original +patch author, i determined that the update to +ALC269_FIXUP_ASPIRE_HEADSET_MIC is the appropriate solution. This change +is custom-designed for the CF-SZ6's unique hardware setup, which includes +a single 3.5mm jack for both mic and audio output, connecting the headset +microphone to pin 0x19 without the use of jack detection. + +Fixes: 0fca97a29b83 ("ALSA: hda/realtek - Add Panasonic CF-SZ6 headset jack quirk") +Signed-off-by: I Gede Agastya Darma Laksana +Cc: +Message-ID: <20240401174602.14133-1-gedeagas22@gmail.com> +Signed-off-by: Takashi Iwai +Signed-off-by: Greg Kroah-Hartman +--- + sound/pci/hda/patch_realtek.c | 2 +- + 1 file changed, 1 insertion(+), 1 deletion(-) + +--- a/sound/pci/hda/patch_realtek.c ++++ b/sound/pci/hda/patch_realtek.c +@@ -8335,7 +8335,7 @@ static const struct snd_pci_quirk alc269 + SND_PCI_QUIRK(0x10ec, 0x124c, "Intel Reference board", ALC295_FIXUP_CHROME_BOOK), + SND_PCI_QUIRK(0x10ec, 0x1252, "Intel Reference board", ALC295_FIXUP_CHROME_BOOK), + SND_PCI_QUIRK(0x10ec, 0x1254, "Intel Reference board", ALC295_FIXUP_CHROME_BOOK), +- SND_PCI_QUIRK(0x10f7, 0x8338, "Panasonic CF-SZ6", ALC269_FIXUP_HEADSET_MODE), ++ SND_PCI_QUIRK(0x10f7, 0x8338, "Panasonic CF-SZ6", ALC269_FIXUP_ASPIRE_HEADSET_MIC), + SND_PCI_QUIRK(0x144d, 0xc109, "Samsung Ativ book 9 (NP900X3G)", ALC269_FIXUP_INV_DMIC), + SND_PCI_QUIRK(0x144d, 0xc169, "Samsung Notebook 9 Pen (NP930SBE-K01US)", ALC298_FIXUP_SAMSUNG_HEADPHONE_VERY_QUIET), + SND_PCI_QUIRK(0x144d, 0xc176, "Samsung Notebook 9 Pro (NP930MBE-K04US)", ALC298_FIXUP_SAMSUNG_HEADPHONE_VERY_QUIET), diff --git a/queue-5.4/series b/queue-5.4/series index e11c2d0b27..1f08f097b5 100644 --- a/queue-5.4/series +++ b/queue-5.4/series @@ -169,3 +169,4 @@ asoc-ops-fix-wraparound-for-mask-in-snd_soc_get_vols.patch ata-sata_sx4-fix-pdc20621_get_from_dimm-on-64-bit.patch scsi-mylex-fix-sysfs-buffer-lengths.patch ata-sata_mv-fix-pci-device-id-table-declaration-comp.patch +alsa-hda-realtek-update-panasonic-cf-sz6-quirk-to-support-headset-with-microphone.patch -- 2.39.5