OSDN Git Service

platform/x86: dell-laptop: Add 2-in-1 devices to the DMI whitelist
authorAlexander Abrosimov <alexander.n.abrosimov@gmail.com>
Thu, 25 Jan 2018 22:48:57 +0000 (01:48 +0300)
committerDarren Hart (VMware) <dvhart@infradead.org>
Fri, 26 Jan 2018 23:41:58 +0000 (15:41 -0800)
commitfe486138788ba435ffa918c8d7aba05a77b6289a
tree89863c1be9c1ef4e77b88db427ef52d54d497f61
parentc58a4f2215f7290a8263b57dd098f0b9b40581bc
platform/x86: dell-laptop: Add 2-in-1 devices to the DMI whitelist

SMBIOS 3.0.0 Specification introduced new Chassis Types field values for
2-in-1 devices like tablets, convertibles and detachables. Dell's
Inspiron 2-in-1 and XPS 2-in-1 fall into this category and they have to
be added to the DMI whitelist, so rfkill and backlight can be controlled
for them as for other laptops.

Signed-off-by: Alexander Abrosimov <alexander.n.abrosimov@gmail.com>
Reviewed-by: Mario Limonciello <mario.limonciello@dell.com>
Signed-off-by: Darren Hart (VMware) <dvhart@infradead.org>
drivers/platform/x86/dell-laptop.c