]> git.ipfire.org Git - thirdparty/kernel/stable.git/commit
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)
committerGreg Kroah-Hartman <gregkh@linuxfoundation.org>
Wed, 27 Feb 2019 09:09:41 +0000 (10:09 +0100)
commitd5f07c9e67c6ef9ffb1139e03ef2e844d4780358
tree2dc59af12e92e5fc37547e742afe5c611b08de87
parent76137ea154eff8a12d91dc9cf2c2786b66aa820b
ALSA: hda/realtek - Headset microphone and internal speaker support for System76 oryp5

commit 7f665b1c3283aae5b61843136d0a8ee808ba3199 upstream.

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>
Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
sound/pci/hda/patch_realtek.c