sound: add patch for Lenovo Legion 5 Intel
Laptop Legion Lenovo 5 15MH05 (Intel) Patch to fix the sound on this machine. It requires sending the speaker and the headphone jack to the same nid. PR: 265632 Approved by: emaste MFC after: 1 week Differential Revision: https://reviews.freebsd.org/D36511
This commit is contained in:
parent
b417407957
commit
b44869cba1
@ -319,7 +319,8 @@ hdac_pin_patch(struct hdaa_widget *w)
|
||||
break;
|
||||
}
|
||||
} else if (id == HDA_CODEC_ALC257 &&
|
||||
(subid == LENOVO_L5AMD_SUBVENDOR)) {
|
||||
(subid == LENOVO_L5AMD_SUBVENDOR ||
|
||||
subid == LENOVO_L5INTEL_SUBVENDOR)) {
|
||||
switch (nid) {
|
||||
case 20:
|
||||
patch_str = "as=1 seq=0";
|
||||
|
@ -372,6 +372,7 @@
|
||||
#define LENOVO_T431S_SUBVENDOR HDA_MODEL_CONSTRUCT(LENOVO, 0x2208)
|
||||
#define LENOVO_G580_SUBVENDOR HDA_MODEL_CONSTRUCT(LENOVO, 0x3977)
|
||||
#define LENOVO_L5AMD_SUBVENDOR HDA_MODEL_CONSTRUCT(LENOVO, 0x381b)
|
||||
#define LENOVO_L5INTEL_SUBVENDOR HDA_MODEL_CONSTRUCT(LENOVO, 0x380f)
|
||||
#define LENOVO_3000_SUBVENDOR HDA_MODEL_CONSTRUCT(LENOVO, 0x384e)
|
||||
#define LENOVO_ALL_SUBVENDOR HDA_MODEL_CONSTRUCT(LENOVO, 0xffff)
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user