diff mbox series

[v2] ALSA: hda/realtek: Fix headset mic on Acer Nitro 5

Message ID 20241205171843.7787-1-hridesh699@gmail.com (mailing list archive)
State Accepted
Commit 5a69e3d0a1b0f07e58c353560cfcb1ea20a6f040
Headers show
Series [v2] ALSA: hda/realtek: Fix headset mic on Acer Nitro 5 | expand

Commit Message

Hridesh MG Dec. 5, 2024, 5:18 p.m. UTC
Add a PCI quirk to enable microphone input on the headphone jack on
the Acer Nitro 5 AN515-58 laptop.

Signed-off-by: Hridesh MG <hridesh699@gmail.com>
---
Changes from v1: https://lore.kernel.org/all/20241114-alc287-nitro5-v1-1-72e5bf2275c3@gmail.com/
	Replaced the custom verbs and pin configs with a fixup model
---
 sound/pci/hda/patch_realtek.c | 1 +
 1 file changed, 1 insertion(+)

Comments

Takashi Iwai Dec. 6, 2024, 12:57 p.m. UTC | #1
On Thu, 05 Dec 2024 18:18:42 +0100,
Hridesh MG wrote:
> 
> Add a PCI quirk to enable microphone input on the headphone jack on
> the Acer Nitro 5 AN515-58 laptop.
> 
> Signed-off-by: Hridesh MG <hridesh699@gmail.com>

Thanks, applied now.


Takashi
diff mbox series

Patch

diff --git a/sound/pci/hda/patch_realtek.c b/sound/pci/hda/patch_realtek.c
index e675f09aa795..2b9b118afde9 100644
--- a/sound/pci/hda/patch_realtek.c
+++ b/sound/pci/hda/patch_realtek.c
@@ -10142,6 +10142,7 @@  static const struct hda_quirk alc269_fixup_tbl[] = {
 	SND_PCI_QUIRK(0x1025, 0x1430, "Acer TravelMate B311R-31", ALC256_FIXUP_ACER_MIC_NO_PRESENCE),
 	SND_PCI_QUIRK(0x1025, 0x1466, "Acer Aspire A515-56", ALC255_FIXUP_ACER_HEADPHONE_AND_MIC),
 	SND_PCI_QUIRK(0x1025, 0x1534, "Acer Predator PH315-54", ALC255_FIXUP_ACER_MIC_NO_PRESENCE),
+	SND_PCI_QUIRK(0x1025, 0x159c, "Acer Nitro 5 AN515-58", ALC2XX_FIXUP_HEADSET_MIC),
 	SND_PCI_QUIRK(0x1025, 0x169a, "Acer Swift SFG16", ALC256_FIXUP_ACER_SFG16_MICMUTE_LED),
 	SND_PCI_QUIRK(0x1028, 0x0470, "Dell M101z", ALC269_FIXUP_DELL_M101Z),
 	SND_PCI_QUIRK(0x1028, 0x053c, "Dell Latitude E5430", ALC292_FIXUP_DELL_E7X),