Re: [PATCHv2 0/2] platform/x86: asus-wmi: Substitute quirk_no_rfkill with a generic fix
From: Andy Shevchenko
Date: Fri Feb 24 2017 - 15:32:51 EST
On Mon, Feb 20, 2017 at 9:50 PM, JoÃo Paulo Rechi Vita
<jprvita@xxxxxxxxx> wrote:
> 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.
>
Thanks, applied for testing.
> 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
>
--
With Best Regards,
Andy Shevchenko