projects
/
GitHub
/
MotorolaMobilityLLC
/
kernel-slsi.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
bd5762a
)
platform/x86: dell-laptop: Add Latitude 7480 and others to the DMI whitelist
author
Alex Hung
<alex.hung@canonical.com>
Thu, 16 Feb 2017 12:58:03 +0000
(20:58 +0800)
committer
Darren Hart
<dvhart@linux.intel.com>
Sat, 25 Feb 2017 07:48:53 +0000
(23:48 -0800)
This is to support Latitude 7480 and many other newer Dell laptops.
Signed-off-by: Alex Hung <alex.hung@canonical.com>
Reviewed-by: Pali Rohár <pali.rohar@gmail.com>
Signed-off-by: Darren Hart <dvhart@linux.intel.com>
drivers/platform/x86/dell-laptop.c
patch
|
blob
|
blame
|
history
diff --git
a/drivers/platform/x86/dell-laptop.c
b/drivers/platform/x86/dell-laptop.c
index 14392a01ab360aceaf80c8424e2b4854ac5ea264..f57dd282a0021a5645eab7fb56b6c7a10307a4d1 100644
(file)
--- a/
drivers/platform/x86/dell-laptop.c
+++ b/
drivers/platform/x86/dell-laptop.c
@@
-105,6
+105,12
@@
static const struct dmi_system_id dell_device_table[] __initconst = {
DMI_MATCH(DMI_CHASSIS_TYPE, "9"), /*Laptop*/
},
},
+ {
+ .matches = {
+ DMI_MATCH(DMI_SYS_VENDOR, "Dell Inc."),
+ DMI_MATCH(DMI_CHASSIS_TYPE, "10"), /*Notebook*/
+ },
+ },
{
.ident = "Dell Computer Corporation",
.matches = {