summarylogtreecommitdiffstats
path: root/asus-wmi.patch
diff options
context:
space:
mode:
Diffstat (limited to 'asus-wmi.patch')
-rw-r--r--asus-wmi.patch75
1 files changed, 0 insertions, 75 deletions
diff --git a/asus-wmi.patch b/asus-wmi.patch
deleted file mode 100644
index 1618c076a348..000000000000
--- a/asus-wmi.patch
+++ /dev/null
@@ -1,75 +0,0 @@
-diff --git a/drivers/platform/x86/asus-nb-wmi.c b/drivers/platform/x86/asus-nb-wmi.c
-index c4404d9c1de4..f83bcf869255 100644
---- a/drivers/platform/x86/asus-nb-wmi.c
-+++ b/drivers/platform/x86/asus-nb-wmi.c
-@@ -110,6 +110,18 @@ static struct quirk_entry quirk_asus_forceals = {
- .wmi_force_als_set = true,
- };
-
-+static struct quirk_entry quirk_asus_ga401i = {
-+ .wapf = 4, // not sure if that is correct
-+ .wmi_backlight_power = true,
-+ .wmi_backlight_set_devstate = true,
-+};
-+
-+static struct quirk_entry quirk_asus_ga502i = {
-+ .wapf = 4, // not sure if that is correct
-+ .wmi_backlight_power = true,
-+ .wmi_backlight_set_devstate = true,
-+};
-+
- static int dmi_matched(const struct dmi_system_id *dmi)
- {
- pr_info("Identified laptop model '%s'\n", dmi->ident);
-@@ -411,6 +423,51 @@ static const struct dmi_system_id asus_quirks[] = {
- },
- .driver_data = &quirk_asus_forceals,
- },
-+ {
-+ .callback = dmi_matched,
-+ .ident = "ASUSTeK COMPUTER INC. GA401IV",
-+ .matches = {
-+ DMI_MATCH(DMI_SYS_VENDOR, "ASUSTeK COMPUTER INC."),
-+ DMI_MATCH(DMI_PRODUCT_NAME, "GA401IV"),
-+ },
-+ .driver_data = &quirk_asus_ga401i,
-+ },
-+ {
-+ .callback = dmi_matched,
-+ .ident = "ASUSTeK COMPUTER INC. GA401IU",
-+ .matches = {
-+ DMI_MATCH(DMI_SYS_VENDOR, "ASUSTeK COMPUTER INC."),
-+ DMI_MATCH(DMI_PRODUCT_NAME, "GA401IU"),
-+ },
-+ .driver_data = &quirk_asus_ga401i,
-+ },
-+ {
-+ .callback = dmi_matched,
-+ .ident = "ASUSTeK COMPUTER INC. GA401II",
-+ .matches = {
-+ DMI_MATCH(DMI_SYS_VENDOR, "ASUSTeK COMPUTER INC."),
-+ DMI_MATCH(DMI_PRODUCT_NAME, "GA401II"),
-+ },
-+ .driver_data = &quirk_asus_ga401i,
-+ },
-+ {
-+ .callback = dmi_matched,
-+ .ident = "ASUSTeK COMPUTER INC. GA502IU",
-+ .matches = {
-+ DMI_MATCH(DMI_SYS_VENDOR, "ASUSTeK COMPUTER INC."),
-+ DMI_MATCH(DMI_PRODUCT_NAME, "GA502IU"),
-+ },
-+ .driver_data = &quirk_asus_ga502i,
-+ },
-+ {
-+ .callback = dmi_matched,
-+ .ident = "ASUSTeK COMPUTER INC. GA502IV",
-+ .matches = {
-+ DMI_MATCH(DMI_SYS_VENDOR, "ASUSTeK COMPUTER INC."),
-+ DMI_MATCH(DMI_PRODUCT_NAME, "GA502IV"),
-+ },
-+ .driver_data = &quirk_asus_ga502i,
-+ },
- {},
- };
-