git: 301b2b02dfcf - main - snd_hda: restore pin patch for headphones on Lenovo X1 7th Gen
Date: Sat, 15 Jan 2022 00:23:35 UTC
The branch main has been updated by emaste: URL: https://cgit.FreeBSD.org/src/commit/?id=301b2b02dfcfddbb5da34dcc20136de1ab2f36af commit 301b2b02dfcfddbb5da34dcc20136de1ab2f36af Author: Ed Maste <emaste@FreeBSD.org> AuthorDate: 2022-01-14 19:40:47 +0000 Commit: Ed Maste <emaste@FreeBSD.org> CommitDate: 2022-01-15 00:23:15 +0000 snd_hda: restore pin patch for headphones on Lenovo X1 7th Gen Fixes: ef790cc7407e ("hdaa: update pin patch configurations") Sponsored by: The FreeBSD Foundation Differential Revision: https://reviews.freebsd.org/D33900 --- sys/dev/sound/pci/hda/pin_patch_realtek.h | 15 +++++++++++++++ 1 file changed, 15 insertions(+) diff --git a/sys/dev/sound/pci/hda/pin_patch_realtek.h b/sys/dev/sound/pci/hda/pin_patch_realtek.h index dfa262e3610a..e59cd6b78b8f 100644 --- a/sys/dev/sound/pci/hda/pin_patch_realtek.h +++ b/sys/dev/sound/pci/hda/pin_patch_realtek.h @@ -554,6 +554,21 @@ static struct hdaa_model_pin_patch_t realtek_model_pin_patches[] = { } }, { } } + }, { /**** CODEC: HDA_CODEC_ALC285 ****/ + .id = HDA_CODEC_ALC285, + .patches = (struct model_pin_patch_t[]){ + { + .models = (struct pin_machine_model_t[]){ + PIN_SUBVENDOR(LENOVO_X120KH_SUBVENDOR), + PIN_SUBVENDOR(LENOVO_X120QD_SUBVENDOR), + { } + }, + .pin_patches = (struct pin_patch_t[]){ + PIN_PATCH_STRING(33, "seq=15 as=1 color=Black ctype=1/8 device=Headphones loc=Left"), + { } + } + }, { } + } }, { /**** CODEC: HDA_CODEC_ALC286 ****/ .id = HDA_CODEC_ALC286, .patches = (struct model_pin_patch_t[]){