All of lore.kernel.org
 help / color / mirror / Atom feed
* [PATCH] dell-laptop: Add another Dell laptop to the DMI whitelist
@ 2017-02-16 12:58 Alex Hung
  2017-02-16 13:22 ` Pali Rohár
  0 siblings, 1 reply; 3+ messages in thread
From: Alex Hung @ 2017-02-16 12:58 UTC (permalink / raw)
  To: alex.hung, mjg59, pali.rohar, dvhart, andy, platform-driver-x86

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

Signed-off-by: Alex Hung <alex.hung@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 277656c..6174854 100644
--- a/drivers/platform/x86/dell-laptop.c
+++ b/drivers/platform/x86/dell-laptop.c
@@ -109,6 +109,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.10.2

^ permalink raw reply related	[flat|nested] 3+ messages in thread

end of thread, other threads:[~2017-02-17  1:59 UTC | newest]

Thread overview: 3+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2017-02-16 12:58 [PATCH] dell-laptop: Add another Dell laptop to the DMI whitelist Alex Hung
2017-02-16 13:22 ` Pali Rohár
2017-02-17  1:59   ` Darren Hart

This is an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.