Takashi Iwai 0a5c82
From 35171fbfc0d94aa31b009bb475d156ad1941ab50 Mon Sep 17 00:00:00 2001
Takashi Iwai 0a5c82
From: Nikos Liolios <liolios.nk@gmail.com>
Takashi Iwai 0a5c82
Date: Tue, 27 Jul 2021 06:05:10 +0300
Takashi Iwai 0a5c82
Subject: [PATCH] ALSA: hda/realtek: Fix headset mic for Acer SWIFT SF314-56 (ALC256)
Takashi Iwai 0a5c82
Git-commit: 35171fbfc0d94aa31b009bb475d156ad1941ab50
Michal Kubecek 486a74
Patch-mainline: v5.14-rc5
Takashi Iwai 0a5c82
References: git-fixes
Takashi Iwai 0a5c82
Takashi Iwai 0a5c82
The issue on Acer SWIFT SF314-56 is that headset microphone doesn't work.
Takashi Iwai 0a5c82
The following quirk fixed headset microphone issue. The fixup was found by trial and error.
Takashi Iwai 0a5c82
Note that the fixup of SF314-54/55 (ALC256_FIXUP_ACER_HEADSET_MIC) was not successful on my SF314-56.
Takashi Iwai 0a5c82
Takashi Iwai 0a5c82
Signed-off-by: Nikos Liolios <liolios.nk@gmail.com>
Takashi Iwai 0a5c82
Cc: <stable@vger.kernel.org>
Takashi Iwai 0a5c82
Link: https://lore.kernel.org/r/20210727030510.36292-1-liolios.nk@gmail.com
Takashi Iwai 0a5c82
Signed-off-by: Takashi Iwai <tiwai@suse.de>
Takashi Iwai 0a5c82
Takashi Iwai 0a5c82
---
Takashi Iwai 0a5c82
 sound/pci/hda/patch_realtek.c | 1 +
Takashi Iwai 0a5c82
 1 file changed, 1 insertion(+)
Takashi Iwai 0a5c82
Takashi Iwai 0a5c82
diff --git a/sound/pci/hda/patch_realtek.c b/sound/pci/hda/patch_realtek.c
Takashi Iwai 0a5c82
index caaf0e8aac11..14e1ab7c7954 100644
Takashi Iwai 0a5c82
--- a/sound/pci/hda/patch_realtek.c
Takashi Iwai 0a5c82
+++ b/sound/pci/hda/patch_realtek.c
Takashi Iwai 0a5c82
@@ -8274,6 +8274,7 @@ static const struct snd_pci_quirk alc269_fixup_tbl[] = {
Takashi Iwai 0a5c82
 	SND_PCI_QUIRK(0x1025, 0x1290, "Acer Veriton Z4860G", ALC286_FIXUP_ACER_AIO_HEADSET_MIC),
Takashi Iwai 0a5c82
 	SND_PCI_QUIRK(0x1025, 0x1291, "Acer Veriton Z4660G", ALC286_FIXUP_ACER_AIO_HEADSET_MIC),
Takashi Iwai 0a5c82
 	SND_PCI_QUIRK(0x1025, 0x129c, "Acer SWIFT SF314-55", ALC256_FIXUP_ACER_HEADSET_MIC),
Takashi Iwai 0a5c82
+	SND_PCI_QUIRK(0x1025, 0x1300, "Acer SWIFT SF314-56", ALC256_FIXUP_ACER_MIC_NO_PRESENCE),
Takashi Iwai 0a5c82
 	SND_PCI_QUIRK(0x1025, 0x1308, "Acer Aspire Z24-890", ALC286_FIXUP_ACER_AIO_HEADSET_MIC),
Takashi Iwai 0a5c82
 	SND_PCI_QUIRK(0x1025, 0x132a, "Acer TravelMate B114-21", ALC233_FIXUP_ACER_HEADSET_MIC),
Takashi Iwai 0a5c82
 	SND_PCI_QUIRK(0x1025, 0x1330, "Acer TravelMate X514-51T", ALC255_FIXUP_ACER_HEADSET_MIC),
Takashi Iwai 0a5c82
-- 
Takashi Iwai 0a5c82
2.26.2
Takashi Iwai 0a5c82