platform/x86: peaq-wmi: Evaluate wmi method with instance number 0x0
authorPali Rohár <pali.rohar@gmail.com>
Sat, 12 Aug 2017 07:44:17 +0000 (09:44 +0200)
committerAndy Shevchenko <andriy.shevchenko@linux.intel.com>
Sun, 13 Aug 2017 12:55:06 +0000 (15:55 +0300)
commit2cf7bdec2db81730610edb2631252b39375024a0
treefbf607fd0658a5fe3c223f1eee6ed98984baed13
parentf85a43b907ec90fb370e7d1061248cf9d25aa2c3
platform/x86: peaq-wmi: Evaluate wmi method with instance number 0x0

According to Hans de Goede, WMI interface of thh peaq-wmi module has 10
instances but corresponding ACPI WMBC method does not check Arg0 (instance
number) at all. Therefore evaluate WMI method with first instance number
(0x0) instead of second (0x1).

Signed-off-by: Pali Rohár <pali.rohar@gmail.com>
Cc: Hans de Goede <hdegoede@redhat.com>
Acked-by: Hans de Goede <hdegoede@redhat.com>
Signed-off-by: Andy Shevchenko <andriy.shevchenko@linux.intel.com>
drivers/platform/x86/peaq-wmi.c