]> git.ipfire.org Git - thirdparty/kernel/stable-queue.git/blob - queue-6.6/alsa-hda-realtek-update-panasonic-cf-sz6-quirk-to-support-headset-with-microphone.patch
Linux 6.1.85
[thirdparty/kernel/stable-queue.git] / queue-6.6 / alsa-hda-realtek-update-panasonic-cf-sz6-quirk-to-support-headset-with-microphone.patch
1 From 1576f263ee2147dc395531476881058609ad3d38 Mon Sep 17 00:00:00 2001
2 From: I Gede Agastya Darma Laksana <gedeagas22@gmail.com>
3 Date: Tue, 2 Apr 2024 00:46:02 +0700
4 Subject: ALSA: hda/realtek: Update Panasonic CF-SZ6 quirk to support headset with microphone
5
6 From: I Gede Agastya Darma Laksana <gedeagas22@gmail.com>
7
8 commit 1576f263ee2147dc395531476881058609ad3d38 upstream.
9
10 This patch addresses an issue with the Panasonic CF-SZ6's existing quirk,
11 specifically its headset microphone functionality. Previously, the quirk
12 used ALC269_FIXUP_HEADSET_MODE, which does not support the CF-SZ6's design
13 of a single 3.5mm jack for both mic and audio output effectively. The
14 device uses pin 0x19 for the headset mic without jack detection.
15
16 Following verification on the CF-SZ6 and discussions with the original
17 patch author, i determined that the update to
18 ALC269_FIXUP_ASPIRE_HEADSET_MIC is the appropriate solution. This change
19 is custom-designed for the CF-SZ6's unique hardware setup, which includes
20 a single 3.5mm jack for both mic and audio output, connecting the headset
21 microphone to pin 0x19 without the use of jack detection.
22
23 Fixes: 0fca97a29b83 ("ALSA: hda/realtek - Add Panasonic CF-SZ6 headset jack quirk")
24 Signed-off-by: I Gede Agastya Darma Laksana <gedeagas22@gmail.com>
25 Cc: <stable@vger.kernel.org>
26 Message-ID: <20240401174602.14133-1-gedeagas22@gmail.com>
27 Signed-off-by: Takashi Iwai <tiwai@suse.de>
28 Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
29 ---
30 sound/pci/hda/patch_realtek.c | 2 +-
31 1 file changed, 1 insertion(+), 1 deletion(-)
32
33 --- a/sound/pci/hda/patch_realtek.c
34 +++ b/sound/pci/hda/patch_realtek.c
35 @@ -10072,7 +10072,7 @@ static const struct snd_pci_quirk alc269
36 SND_PCI_QUIRK(0x10ec, 0x1252, "Intel Reference board", ALC295_FIXUP_CHROME_BOOK),
37 SND_PCI_QUIRK(0x10ec, 0x1254, "Intel Reference board", ALC295_FIXUP_CHROME_BOOK),
38 SND_PCI_QUIRK(0x10ec, 0x12cc, "Intel Reference board", ALC295_FIXUP_CHROME_BOOK),
39 - SND_PCI_QUIRK(0x10f7, 0x8338, "Panasonic CF-SZ6", ALC269_FIXUP_HEADSET_MODE),
40 + SND_PCI_QUIRK(0x10f7, 0x8338, "Panasonic CF-SZ6", ALC269_FIXUP_ASPIRE_HEADSET_MIC),
41 SND_PCI_QUIRK(0x144d, 0xc109, "Samsung Ativ book 9 (NP900X3G)", ALC269_FIXUP_INV_DMIC),
42 SND_PCI_QUIRK(0x144d, 0xc169, "Samsung Notebook 9 Pen (NP930SBE-K01US)", ALC298_FIXUP_SAMSUNG_AMP),
43 SND_PCI_QUIRK(0x144d, 0xc176, "Samsung Notebook 9 Pro (NP930MBE-K04US)", ALC298_FIXUP_SAMSUNG_AMP),