lkml.org 
[lkml]   [2018]   [Mar]   [8]   [last100]   RSS Feed
Views: [wrap][no wrap]   [headers]  [forward] 
 
Messages in this thread
    Patch in this message
    /
    From
    Subject[PATCH AUTOSEL for 4.9 025/190] platform/x86: asus-nb-wmi: Add wapf4 quirk for the X302UA
    Date
    From: Santeri Toivonen <santeri.toivonen@vatsul.com>

    [ Upstream commit f35823619db8bbaa2afea8705f239c3cecb9d22f ]

    Asus laptop X302UA starts up with Wi-Fi disabled,
    without a way to enable it. Set wapf=4 to fix the problem.

    Signed-off-by: Santeri Toivonen <santeri.toivonen@vatsul.com>
    Signed-off-by: Darren Hart (VMware) <dvhart@infradead.org>
    Signed-off-by: Sasha Levin <alexander.levin@microsoft.com>
    ---
    drivers/platform/x86/asus-nb-wmi.c | 9 +++++++++
    1 file changed, 9 insertions(+)

    diff --git a/drivers/platform/x86/asus-nb-wmi.c b/drivers/platform/x86/asus-nb-wmi.c
    index 6eb2837f6b89..ab44326ea3e7 100644
    --- a/drivers/platform/x86/asus-nb-wmi.c
    +++ b/drivers/platform/x86/asus-nb-wmi.c
    @@ -150,6 +150,15 @@ static const struct dmi_system_id asus_quirks[] = {
    */
    .driver_data = &quirk_asus_wapf4,
    },
    + {
    + .callback = dmi_matched,
    + .ident = "ASUSTeK COMPUTER INC. X302UA",
    + .matches = {
    + DMI_MATCH(DMI_SYS_VENDOR, "ASUSTeK COMPUTER INC."),
    + DMI_MATCH(DMI_PRODUCT_NAME, "X302UA"),
    + },
    + .driver_data = &quirk_asus_wapf4,
    + },
    {
    .callback = dmi_matched,
    .ident = "ASUSTeK COMPUTER INC. X401U",
    --
    2.14.1
    \
     
     \ /
      Last update: 2018-03-08 07:30    [W:8.165 / U:0.168 seconds]
    ©2003-2020 Jasper Spaans|hosted at Digital Ocean and TransIP|Read the blog|Advertise on this site