]> git.baikalelectronics.ru Git - kernel.git/commit
platform/x86: asus-nb-wmi: Revert "Do not load on Asus T100TA and T200TA"
authorHans de Goede <hdegoede@redhat.com>
Thu, 10 Sep 2020 15:06:50 +0000 (17:06 +0200)
committerAndy Shevchenko <andriy.shevchenko@linux.intel.com>
Thu, 24 Sep 2020 10:04:20 +0000 (13:04 +0300)
commit7a968057f817f9dca450e73e40a3732267fb1c9b
treeb4733c1d5403a94d76ade4263b3b9d9b7b85b411
parentcfea5a5d16d3e7ac93b7a572285f88d5ac4d0c47
platform/x86: asus-nb-wmi: Revert "Do not load on Asus T100TA and T200TA"

The WMI INIT method on for some reason turns on the camera LED on these
2-in-1s, without the WMI interface allowing further control over the LED.

To fix this commit 03c9e5731bfb ("platform/x86: asus-nb-wmi: Do not load
on Asus T100TA and T200TA") added a blacklist with these 2 models on it
since the WMI driver did not add any extra functionality to these models.

Recently I've been working on making more 2-in-1 models report their
tablet-mode (SW_TABLET_MODE) to userspace; and I've found that these 2
Asus models report this through WMI. This commit reverts the adding
of the blacklist, so that the Asus WMI driver can be used on these
models to report their tablet-mode. I have another patch fixing the LED
issue in a different manner.

Note this is the second time the we revert the adding of the
asus_nb_wmi_blacklist. It was reverted before in commit:

bea1454de142 ("platform/x86: asus-nb-wmi: Revert "Do not load on Asus
T100TA and T200TA")"

But some how (accidentally re-applying of the patch?) it got re-added
again in commit 1229b02b830d ("platform/x86: asus-nb-wmi: Do not load
on Asus T100TA and T200TA"), so now we need to revert it again.

Signed-off-by: Hans de Goede <hdegoede@redhat.com>
Signed-off-by: Andy Shevchenko <andriy.shevchenko@linux.intel.com>
drivers/platform/x86/asus-nb-wmi.c