Return-Path: Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1753304AbbF2PaR (ORCPT ); Mon, 29 Jun 2015 11:30:17 -0400 Received: from mail-la0-f52.google.com ([209.85.215.52]:33700 "EHLO mail-la0-f52.google.com" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1753027AbbF2PaB (ORCPT ); Mon, 29 Jun 2015 11:30:01 -0400 From: Dmitry Tunin To: Darren Hart Cc: linux-kernel@vger.kernel.org, platform-driver-x86@vger.kernel.org, Dmitry Tunin , stable@vger.kernel.org Subject: [RESEND] asus-nb-wmi: Add wapf4 quirk for X200MA Date: Mon, 29 Jun 2015 18:29:45 +0300 Message-Id: <1435591785-14133-1-git-send-email-hanipouspilot@gmail.com> X-Mailer: git-send-email 1.9.1 Sender: linux-kernel-owner@vger.kernel.org List-ID: X-Mailing-List: linux-kernel@vger.kernel.org Content-Length: 1344 Lines: 39 Wireless is not blocked without this quirk, but wireless LED does not follow wireless status. With this quirk it accurately reflects if wireless is on or off. Signed-off-by: Dmitry Tunin Acked-by: Corentin Chary Cc: stable@vger.kernel.org --- 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 3a4951f..4b1c13d 100644 --- a/drivers/platform/x86/asus-nb-wmi.c +++ b/drivers/platform/x86/asus-nb-wmi.c @@ -104,6 +104,15 @@ static const struct dmi_system_id asus_quirks[] = { .ident = "ASUSTeK COMPUTER INC. X401U", .matches = { DMI_MATCH(DMI_SYS_VENDOR, "ASUSTeK COMPUTER INC."), + DMI_MATCH(DMI_PRODUCT_NAME, "X200MA"), + }, + .driver_data = &quirk_asus_wapf4, + }, + { + .callback = dmi_matched, + .ident = "ASUSTeK COMPUTER INC. X401U", + .matches = { + DMI_MATCH(DMI_SYS_VENDOR, "ASUSTeK COMPUTER INC."), DMI_MATCH(DMI_PRODUCT_NAME, "X401U"), }, .driver_data = &quirk_asus_x55u, -- 1.9.1 -- To unsubscribe from this list: send the line "unsubscribe linux-kernel" in the body of a message to majordomo@vger.kernel.org More majordomo info at http://vger.kernel.org/majordomo-info.html Please read the FAQ at http://www.tux.org/lkml/