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)
commit595773a493e360bdb4306a1a78669996c4842bc2
treed2dfa8b7468f26bdb996e31b9b8063a7938f881f
parent75d7e7d7a8f4966cb8b1da54a1c74fb2a97ae8fc
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