From: Carlo Caione Date: Thu, 15 Jun 2017 01:41:53 +0000 (+0800) Subject: ACPI / EC: Add quirk for GL720VMK X-Git-Url: https://git.stricted.de/?a=commitdiff_plain;h=ef75040ab7f179c30f084653c93bc0bbdbcaf17a;p=GitHub%2Fmoto-9609%2Fandroid_kernel_motorola_exynos9610.git ACPI / EC: Add quirk for GL720VMK ASUS GL720VMK is also affected by the EC GPE preference issue. Signed-off-by: Carlo Caione Signed-off-by: Lv Zheng Signed-off-by: Rafael J. Wysocki --- diff --git a/drivers/acpi/ec.c b/drivers/acpi/ec.c index f493ae7b30b1..77c18a5547ed 100644 --- a/drivers/acpi/ec.c +++ b/drivers/acpi/ec.c @@ -1781,7 +1781,7 @@ static int ec_correct_ecdt(const struct dmi_system_id *id) /* * Some DSDTs contain wrong GPE setting. - * Asus FX502VD/VE, X550VXK, X580VD + * Asus FX502VD/VE, GL702VMK, X550VXK, X580VD * https://bugzilla.kernel.org/show_bug.cgi?id=195651 */ static int ec_honor_ecdt_gpe(const struct dmi_system_id *id) @@ -1805,6 +1805,10 @@ static struct dmi_system_id ec_dmi_table[] __initdata = { DMI_MATCH(DMI_SYS_VENDOR, "ASUSTeK COMPUTER INC."), DMI_MATCH(DMI_PRODUCT_NAME, "FX502VE"),}, NULL}, { + ec_honor_ecdt_gpe, "ASUS GL702VMK", { + DMI_MATCH(DMI_SYS_VENDOR, "ASUSTeK COMPUTER INC."), + DMI_MATCH(DMI_PRODUCT_NAME, "GL702VMK"),}, NULL}, + { ec_honor_ecdt_gpe, "ASUS X550VXK", { DMI_MATCH(DMI_SYS_VENDOR, "ASUSTeK COMPUTER INC."), DMI_MATCH(DMI_PRODUCT_NAME, "X550VXK"),}, NULL},