]> git.baikalelectronics.ru Git - kernel.git/commit
ALSA: hda - Enable headphone mic on Dell Latitude laptops with ALC3254
authorChris Chiu <chris.chiu@canonical.com>
Fri, 1 Oct 2021 06:28:56 +0000 (14:28 +0800)
committerTakashi Iwai <tiwai@suse.de>
Fri, 1 Oct 2021 07:00:18 +0000 (09:00 +0200)
commit4a067976136ba53a6db822b93b08ae5230137ece
tree316042aede90e62d34bba85dde59b98e392aa48c
parent2f96f5fb9ae315e0c67190545c145f8c56fb2dee
ALSA: hda - Enable headphone mic on Dell Latitude laptops with ALC3254

The headphone mic is not working on Dell Latitude laptops with ALC3254.
The codec vendor id is 0x10ec0295 and share the same pincfg as defined
in ALC295_STANDARD_PINS. So the ALC269_FIXUP_DELL1_MIC_NO_PRESENCE will
be applied per alc269_pin_fixup_tbl[] but actually the headphone mic is
using NID 0x1b instead of 0x1a. The ALC269_FIXUP_DELL4_MIC_NO_PRESENCE
need to be applied instead.

Use ALC269_FIXUP_DELL4_MIC_NO_PRESENCE for particular models before
a generic fixup comes out.

Signed-off-by: Chris Chiu <chris.chiu@canonical.com>
Cc: <stable@vger.kernel.org>
Link: https://lore.kernel.org/r/20211001062856.1037901-1-chris.chiu@canonical.com
Signed-off-by: Takashi Iwai <tiwai@suse.de>
sound/pci/hda/patch_realtek.c