]> git.proxmox.com Git - mirror_ubuntu-jammy-kernel.git/commit - sound/pci/hda/patch_realtek.c
ALSA: hda/realtek - Headset microphone and internal speaker support for System76...
authorJeremy Soller <jeremy@system76.com>
Wed, 13 Feb 2019 17:56:19 +0000 (10:56 -0700)
committerTakashi Iwai <tiwai@suse.de>
Thu, 14 Feb 2019 07:52:29 +0000 (08:52 +0100)
commit7f665b1c3283aae5b61843136d0a8ee808ba3199
tree36889d35c4c48170113959dbbee69c2d9ab4ef65
parent00a399cad1a063e7665f06b6497a807db20441fd
ALSA: hda/realtek - Headset microphone and internal speaker support for System76 oryp5

On the System76 Oryx Pro (oryp5), there is a headset microphone input
attached to 0x19 that does not have a jack detect. In order to get it
working, the pin configuration needs to be set correctly, and the
ALC269_FIXUP_HEADSET_MODE_NO_HP_MIC fixup needs to be applied. This is
similar to the MIC_NO_PRESENCE fixups for some Dell laptops, except we
have a separate microphone jack that is already configured correctly.

Since the ALC1220 does not have a fixup similar to
ALC269_FIXUP_HEADSET_MODE_NO_HP_MIC, I have exposed the fixup from the
ALC269 in a way that it can be accessed from the
alc1220_fixup_system76_oryp5 function. In addition, the
alc1220_fixup_clevo_p950 needs to be applied to gain speaker output.

Signed-off-by: Jeremy Soller <jeremy@system76.com>
Cc: <stable@vger.kernel.org>
Signed-off-by: Takashi Iwai <tiwai@suse.de>
sound/pci/hda/patch_realtek.c