[<prev] [next>] [thread-next>] [day] [month] [year] [list]
Message-Id: <1502523858-25716-1-git-send-email-pali.rohar@gmail.com>
Date: Sat, 12 Aug 2017 09:44:14 +0200
From: Pali Rohár <pali.rohar@...il.com>
To: Corentin Chary <corentin.chary@...il.com>,
Darren Hart <dvhart@...radead.org>,
Andy Shevchenko <andy@...radead.org>
Cc: acpi4asus-user@...ts.sourceforge.net,
platform-driver-x86@...r.kernel.org, linux-kernel@...r.kernel.org,
Pali Rohár <pali.rohar@...il.com>
Subject: [PATCH 0/4] platform/x86: Fix check for method instance number
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
Powered by blists - more mailing lists