[PATCHv2 0/2] platform/x86: asus-wmi: Substitute quirk_no_rfkill with a generic fix

From: JoÃo Paulo Rechi Vita
Date: Mon Feb 20 2017 - 14:50:56 EST


The quirk avoids the conflicting usage of ASUS_WMI_DEVID_WLAN_LED (0x00010002)
by both asus-wireless and asus-wmi on machines where the BIOS can't set and
record the wlan status (wlan_ctrl_by_user in asus-wmi.c). At the moment we have
six models quirked upstream, but another fifteen downstream, and we expect this
list to continue growing.

This series makes use of ASUS_WMI_DSTS_USER_BIT plus the status of the ASHS
device to skip asus_wmi_rfkill_init(), instead of static DMI-based quirks.

JoÃo Paulo Rechi Vita (2):
platform/x86: asus-wmi: Detect quirk_no_rfkill from the DSDT
platform/x86: asus-wmi: Remove quirk_no_rfkill

drivers/platform/x86/asus-nb-wmi.c | 49 ++------------------------------------
drivers/platform/x86/asus-wmi.c | 22 +++++++++++++----
drivers/platform/x86/asus-wmi.h | 1 -
3 files changed, 19 insertions(+), 53 deletions(-)

--
2.11.0