Page Menu
Home
FreeBSD
Search
Configure Global Search
Log In
Files
F112490285
D49396.diff
No One
Temporary
Actions
View File
Edit File
Delete File
View Transforms
Subscribe
Mute Notifications
Flag For Later
Award Token
Size
1 KB
Referenced Files
None
Subscribers
None
D49396.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
@@ -317,13 +317,14 @@
break;
}
} else if (id == HDA_CODEC_ALC257 &&
- (subid == LENOVO_L5AMD_SUBVENDOR ||
- subid == LENOVO_L5INTEL_SUBVENDOR ||
- subid == LENOVO_IDEAPAD3_SUBVENDOR)) {
+ HDA_DEV_MATCH(LENOVO_ALL_SUBVENDOR, subid)) {
switch (nid) {
case 20:
patch_str = "as=1 seq=0";
break;
+ case 25:
+ patch_str = "as=2 seq=15";
+ break;
case 33:
patch_str = "as=1 seq=15";
break;
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
@@ -387,6 +387,7 @@
#define LENOVO_3000_SUBVENDOR HDA_MODEL_CONSTRUCT(LENOVO, 0x384e)
#define LENOVO_IDEAPAD330_SUBVENDOR HDA_MODEL_CONSTRUCT(LENOVO, 0x3808)
#define LENOVO_IDEAPAD3_SUBVENDOR HDA_MODEL_CONSTRUCT(LENOVO, 0x3881)
+#define LENOVO_L480_SUBVENDOR HDA_MODEL_CONSTRUCT(LENOVO, 0x506a)
#define LENOVO_ALL_SUBVENDOR HDA_MODEL_CONSTRUCT(LENOVO, 0xffff)
/* Samsung */
File Metadata
Details
Attached
Mime Type
text/plain
Expires
Wed, Mar 19, 6:53 PM (12 h, 12 m)
Storage Engine
blob
Storage Format
Raw Data
Storage Handle
17220564
Default Alt Text
D49396.diff (1 KB)
Attached To
Mode
D49396: snd_hda: Enable microphone redirection for ALC257
Attached
Detach File
Event Timeline
Log In to Comment