[PATCH 0/4] platform/x86: Fix check for method instance number
From: Pali RohÃr
Date: Sat Aug 12 2017 - 03:45:43 EST
This patch series fixes remaining mxm-wmi and asus-wmi drivers to evaluate
WMI methods with correct and available instance number. Now all WMI drivers
should call WMI functions with correct instance number and last patch fixes
WMI check for invalid instances. Patch for paeq-wmi is optional as machine
has 10 instances but instance number is ignored at all. But for consistency
with other drivers first instance would be used (instead of second).
Pali RohÃr (4):
platform/x86: mxm-wmi: Evaluate wmi method with instance number 0x0
platform/x86: asus-wmi: Evaluate wmi method with instance number 0x0
platform/x86: peaq-wmi: Evaluate wmi method with instance number 0x0
platform/x86: wmi: Fix check for method instance number
drivers/platform/x86/asus-wmi.c | 4 ++--
drivers/platform/x86/mxm-wmi.c | 4 ++--
drivers/platform/x86/peaq-wmi.c | 2 +-
drivers/platform/x86/wmi.c | 6 +++---
4 files changed, 8 insertions(+), 8 deletions(-)
--
1.7.9.5