git: 5694c481e167 - stable/13 - snd_hda: restore pin patch for headphones on Lenovo X1 7th Gen
- Go to: [ bottom of page ] [ top of archives ] [ this month ]
Date: Thu, 24 Mar 2022 13:55:08 UTC
The branch stable/13 has been updated by emaste:
URL: https://cgit.FreeBSD.org/src/commit/?id=5694c481e167bb997872c343392bdee295f11ffc
commit 5694c481e167bb997872c343392bdee295f11ffc
Author: Ed Maste <emaste@FreeBSD.org>
AuthorDate: 2022-01-14 19:40:47 +0000
Commit: Ed Maste <emaste@FreeBSD.org>
CommitDate: 2022-03-24 13:52:37 +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
(cherry picked from commit 301b2b02dfcfddbb5da34dcc20136de1ab2f36af)
---
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 f8f27aedca14..326b353531c4 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[]){