toshiba_acpi: Avoid registering input device on WMI event laptops
authorAzael Avalos <coproscefalo@gmail.com>
Thu, 23 Jul 2015 00:09:12 +0000 (18:09 -0600)
committerDarren Hart <dvhart@linux.intel.com>
Fri, 24 Jul 2015 21:17:59 +0000 (14:17 -0700)
commita88bc06e5aec4984f5bf01c6d410a0939134f737
tree955e1f476e54791c06308f4052c2a7b2ff7bb385
parentfc5462f8525b47fa219452289ecb22c921c16823
toshiba_acpi: Avoid registering input device on WMI event laptops

Commit f11f999e9890 ("toshiba_acpi: Refuse to load on machines with
buggy INFO implementations") denied loading on laptops with a WMI Event
GUID given that such laptops manage the hotkeys via that interface,
however, such laptops have a working Toshiba Configuration Interface
(TCI), and thus, such commit denied several supported features.

This patch avoids registering the input device and ignores all hotkey
events on laptops with such WMI Event GUID, making the supported
features found in those laptops to work.

Signed-off-by: Azael Avalos <coproscefalo@gmail.com>
Signed-off-by: Darren Hart <dvhart@linux.intel.com>
drivers/platform/x86/toshiba_acpi.c