]> git.proxmox.com Git - mirror_ubuntu-bionic-kernel.git/commit
ALSA: hda/realtek - Headset microphone and internal speaker support for System76...
authorJeremy Soller <jeremy@system76.com>
Thu, 21 Feb 2019 16:44:24 +0000 (17:44 +0100)
committerKhalid Elmously <khalid.elmously@canonical.com>
Fri, 22 Feb 2019 13:48:23 +0000 (08:48 -0500)
commit9430d3a62405416d1e983cb8eca15d3ddd8f0388
treec496c76e31abe7b476ecda0ea736d18ae2838d99
parent09416ef0656e527cf25c671796bda4d0c1c0f0bd
ALSA: hda/realtek - Headset microphone and internal speaker support for System76 oryp5

BugLink: https://bugs.launchpad.net/bugs/1815831
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>
(cherry picked from commit 7f665b1c3283aae5b61843136d0a8ee808ba3199
 git://git.kernel.org/pub/scm/linux/kernel/git/tiwai/sound.git)
Signed-off-by: Seth Forshee <seth.forshee@canonical.com>
Acked-by: AceLan Kao <acelan.kao@canonical.com>
Acked-by: Colin Ian King <colin.king@canonical.com>
Signed-off-by: Khalid Elmously <khalid.elmously@canonical.com>
sound/pci/hda/patch_realtek.c