]> git.baikalelectronics.ru Git - kernel.git/commit
dell-wmi: Check if Dell WMI descriptor structure is valid
authorPali Rohár <pali.rohar@gmail.com>
Mon, 4 Jan 2016 21:26:35 +0000 (22:26 +0100)
committerDarren Hart <dvhart@linux.intel.com>
Wed, 20 Jan 2016 01:35:48 +0000 (17:35 -0800)
commit3b971b1cf16d4467d7da70fa87d6557ee44fddc5
treed2dfa8b7468f26bdb996e31b9b8063a7938f881f
parentdc2839e6a0964ef14f9334356169508e5e644c58
dell-wmi: Check if Dell WMI descriptor structure is valid

After examining existing DSDT ACPI tables of more laptops and looking
into Dell WMI document mentioned in ML dicussion archived at
http://www.spinics.net/lists/platform-driver-x86/msg07220.html we will
parse and check WMI descriptor if contains expected data. It is because
WMI descriptor contains interface version number and it is needed to
know in next commit.

Signed-off-by: Pali Rohár <pali.rohar@gmail.com>
Tested-by: Gabriele Mazzotta <gabriele.mzt@gmail.com>
Signed-off-by: Darren Hart <dvhart@linux.intel.com>
drivers/platform/x86/dell-wmi.c