]> git.ipfire.org Git - thirdparty/kernel/stable-queue.git/blob - releases/6.6.26/alsa-hda-realtek-fix-inactive-headset-mic-jack.patch
Linux 6.1.85
[thirdparty/kernel/stable-queue.git] / releases / 6.6.26 / alsa-hda-realtek-fix-inactive-headset-mic-jack.patch
1 From daf6c4681a74034d5723e2fb761e0d7f3a1ca18f Mon Sep 17 00:00:00 2001
2 From: Christoffer Sandberg <cs@tuxedo.de>
3 Date: Thu, 28 Mar 2024 11:27:57 +0100
4 Subject: ALSA: hda/realtek - Fix inactive headset mic jack
5
6 From: Christoffer Sandberg <cs@tuxedo.de>
7
8 commit daf6c4681a74034d5723e2fb761e0d7f3a1ca18f upstream.
9
10 This patch adds the existing fixup to certain TF platforms implementing
11 the ALC274 codec with a headset jack. It fixes/activates the inactive
12 microphone of the headset.
13
14 Signed-off-by: Christoffer Sandberg <cs@tuxedo.de>
15 Signed-off-by: Werner Sembach <wse@tuxedocomputers.com>
16 Cc: <stable@vger.kernel.org>
17 Message-ID: <20240328102757.50310-1-wse@tuxedocomputers.com>
18 Signed-off-by: Takashi Iwai <tiwai@suse.de>
19 Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
20 ---
21 sound/pci/hda/patch_realtek.c | 1 +
22 1 file changed, 1 insertion(+)
23
24 --- a/sound/pci/hda/patch_realtek.c
25 +++ b/sound/pci/hda/patch_realtek.c
26 @@ -10302,6 +10302,7 @@ static const struct snd_pci_quirk alc269
27 SND_PCI_QUIRK(0x1d05, 0x1147, "TongFang GMxTGxx", ALC269_FIXUP_NO_SHUTUP),
28 SND_PCI_QUIRK(0x1d05, 0x115c, "TongFang GMxTGxx", ALC269_FIXUP_NO_SHUTUP),
29 SND_PCI_QUIRK(0x1d05, 0x121b, "TongFang GMxAGxx", ALC269_FIXUP_NO_SHUTUP),
30 + SND_PCI_QUIRK(0x1d05, 0x1387, "TongFang GMxIXxx", ALC2XX_FIXUP_HEADSET_MIC),
31 SND_PCI_QUIRK(0x1d72, 0x1602, "RedmiBook", ALC255_FIXUP_XIAOMI_HEADSET_MIC),
32 SND_PCI_QUIRK(0x1d72, 0x1701, "XiaomiNotebook Pro", ALC298_FIXUP_DELL1_MIC_NO_PRESENCE),
33 SND_PCI_QUIRK(0x1d72, 0x1901, "RedmiBook 14", ALC256_FIXUP_ASUS_HEADSET_MIC),