]> asedeno.scripts.mit.edu Git - linux.git/commitdiff
ACPI / blacklist: add _REV quirks for Dell Precision 5520 and 3520
authorAlex Hung <alex.hung@canonical.com>
Fri, 28 Oct 2016 18:54:04 +0000 (11:54 -0700)
committerRafael J. Wysocki <rafael.j.wysocki@intel.com>
Wed, 16 Nov 2016 21:57:39 +0000 (22:57 +0100)
Precision 5520 and 3520 either hang at login and during suspend or reboot.

It turns out that that adding them to acpi_rev_dmi_table[] helps to work
around those issues.

Signed-off-by: Alex Hung <alex.hung@canonical.com>
[ rjw: Changelog ]
Signed-off-by: Rafael J. Wysocki <rafael.j.wysocki@intel.com>
drivers/acpi/blacklist.c

index bdc67bad61a75b8c823973ea822b7c9feafed28c..4f87fd7483030178e3bf027e35139d919fb64146 100644 (file)
@@ -160,6 +160,22 @@ static struct dmi_system_id acpi_rev_dmi_table[] __initdata = {
                      DMI_MATCH(DMI_PRODUCT_NAME, "XPS 13 9343"),
                },
        },
+       {
+        .callback = dmi_enable_rev_override,
+        .ident = "DELL Precision 5520",
+        .matches = {
+                     DMI_MATCH(DMI_SYS_VENDOR, "Dell Inc."),
+                     DMI_MATCH(DMI_PRODUCT_NAME, "Precision 5520"),
+               },
+       },
+       {
+        .callback = dmi_enable_rev_override,
+        .ident = "DELL Precision 3520",
+        .matches = {
+                     DMI_MATCH(DMI_SYS_VENDOR, "Dell Inc."),
+                     DMI_MATCH(DMI_PRODUCT_NAME, "Precision 3520"),
+               },
+       },
 #endif
        {}
 };