Page Menu
Home
FreeBSD
Search
Configure Global Search
Log In
Files
F102694650
D36511.diff
No One
Temporary
Actions
View File
Edit File
Delete File
View Transforms
Subscribe
Mute Notifications
Flag For Later
Award Token
Size
1011 B
Referenced Files
None
Subscribers
None
D36511.diff
View Options
diff --git a/sys/dev/sound/pci/hda/hdaa_patches.c b/sys/dev/sound/pci/hda/hdaa_patches.c
--- a/sys/dev/sound/pci/hda/hdaa_patches.c
+++ b/sys/dev/sound/pci/hda/hdaa_patches.c
@@ -319,7 +319,8 @@
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";
diff --git a/sys/dev/sound/pci/hda/hdac.h b/sys/dev/sound/pci/hda/hdac.h
--- a/sys/dev/sound/pci/hda/hdac.h
+++ b/sys/dev/sound/pci/hda/hdac.h
@@ -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)
File Metadata
Details
Attached
Mime Type
text/plain
Expires
Sat, Nov 16, 11:18 PM (21 h, 22 m)
Storage Engine
blob
Storage Format
Raw Data
Storage Handle
14667348
Default Alt Text
D36511.diff (1011 B)
Attached To
Mode
D36511: sound: add patch for Lenovo Legion 5 Intel
Attached
Detach File
Event Timeline
Log In to Comment