OSDN Git Service

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)
commit2b987fe84429361c7f189568c476d1bd00d2ff7e
tree316042aede90e62d34bba85dde59b98e392aa48c
parent1f8763c59c4ec6254d629fe77c0a52220bd907aa
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