]> 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)
commit7a478e12f5aa49b6ca0494253346ce6677b3d769
treed2dfa8b7468f26bdb996e31b9b8063a7938f881f
parent712415e2b824572b8c936db7a0d8555807c18869
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