]> git.baikalelectronics.ru Git - kernel.git/commit
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)
commit12c9543b04fd9ac0d75b766196425fca4772d45e
tree955e1f476e54791c06308f4052c2a7b2ff7bb385
parentb1ccc6e2ebbe013007b63aea326429dfbdd7e87a
toshiba_acpi: Avoid registering input device on WMI event laptops

Commit da6bae767118 ("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