From: Hans de Goede Date: Fri, 18 Jul 2014 10:15:09 +0000 (+0200) Subject: asus-nb-wmi: Add wapf4 quirk for the X550CC X-Git-Url: https://git.stricted.de/?a=commitdiff_plain;h=6d6ded3bdb0ed6f65d1f58d5d84971f6b3a39b70;p=GitHub%2FLineageOS%2Fandroid_kernel_motorola_exynos9610.git asus-nb-wmi: Add wapf4 quirk for the X550CC As reported here: https://bugs.launchpad.net/ubuntu/+source/linux/+bug/1173681 the X550CC needs wapf=4 too. Signed-off-by: Hans de Goede Signed-off-by: Matthew Garrett --- diff --git a/drivers/platform/x86/asus-nb-wmi.c b/drivers/platform/x86/asus-nb-wmi.c index f3af2032e415..63fedd44383a 100644 --- a/drivers/platform/x86/asus-nb-wmi.c +++ b/drivers/platform/x86/asus-nb-wmi.c @@ -148,6 +148,15 @@ static const struct dmi_system_id asus_quirks[] = { }, .driver_data = &quirk_asus_x401u, }, + { + .callback = dmi_matched, + .ident = "ASUSTeK COMPUTER INC. X550CC", + .matches = { + DMI_MATCH(DMI_SYS_VENDOR, "ASUSTeK COMPUTER INC."), + DMI_MATCH(DMI_PRODUCT_NAME, "X550CC"), + }, + .driver_data = &quirk_asus_wapf4, + }, { .callback = dmi_matched, .ident = "ASUSTeK COMPUTER INC. X550CL",