[SRU] [X/Y/Z] [PATCH 1/1] platform/x86: dell-laptop: Add Latitude 7480 and others to the DMI whitelist

Kai-Heng Feng kai.heng.feng at canonical.com
Thu May 25 03:28:22 UTC 2017


From: Alex Hung <alex.hung at canonical.com>

BugLink: https://bugs.launchpad.net/bugs/1693126

This is to support Latitude 7480 and many other newer Dell laptops.

Signed-off-by: Alex Hung <alex.hung at canonical.com>
Reviewed-by: Pali Rohár <pali.rohar at gmail.com>
Signed-off-by: Darren Hart <dvhart at linux.intel.com>
(cherry picked from commit 8d2c4538dbc7154c4aed1364db127a0e51dbd459)
Signed-off-by: Kai-Heng Feng <kai.heng.feng at canonical.com>
---
 drivers/platform/x86/dell-laptop.c | 6 ++++++
 1 file changed, 6 insertions(+)

diff --git a/drivers/platform/x86/dell-laptop.c b/drivers/platform/x86/dell-laptop.c
index aaeeae81e3a9..de8cdc7df180 100644
--- a/drivers/platform/x86/dell-laptop.c
+++ b/drivers/platform/x86/dell-laptop.c
@@ -139,6 +139,12 @@ static const struct dmi_system_id dell_device_table[] __initconst = {
 		},
 	},
 	{
+		.matches = {
+			DMI_MATCH(DMI_SYS_VENDOR, "Dell Inc."),
+			DMI_MATCH(DMI_CHASSIS_TYPE, "10"), /*Notebook*/
+		},
+	},
+	{
 		.ident = "Dell Computer Corporation",
 		.matches = {
 			DMI_MATCH(DMI_SYS_VENDOR, "Dell Computer Corporation"),
-- 
2.13.0





More information about the kernel-team mailing list