]> git.baikalelectronics.ru Git - kernel.git/commitdiff
ACPI: EC: Use ec_no_wakeup on HP ZHAN 66 Pro
authorBinbin Zhou <zhoubinbin@uniontech.com>
Thu, 28 Oct 2021 13:44:32 +0000 (21:44 +0800)
committerRafael J. Wysocki <rafael.j.wysocki@intel.com>
Wed, 3 Nov 2021 18:13:01 +0000 (19:13 +0100)
EC interrupts constantly wake up system from s2idle, so set
ec_no_wakeup by default to keep the system in s2idle and reduce
energy consumption.

Signed-off-by: Binbin Zhou <zhoubinbin@uniontech.com>
[ rjw: Changelog and subject edits ]
Signed-off-by: Rafael J. Wysocki <rafael.j.wysocki@intel.com>
drivers/acpi/ec.c

index e629e891d1bb300d802d7fd618257f79f29e83d6..7c32da8f51ed1cbb5d1907a88f0211b5c32af8a0 100644 (file)
@@ -2152,6 +2152,13 @@ static const struct dmi_system_id acpi_ec_no_wakeup[] = {
                        DMI_MATCH(DMI_PRODUCT_FAMILY, "ThinkPad X1 Yoga 3rd"),
                },
        },
+       {
+               .ident = "HP ZHAN 66 Pro",
+               .matches = {
+                       DMI_MATCH(DMI_SYS_VENDOR, "HP"),
+                       DMI_MATCH(DMI_PRODUCT_FAMILY, "103C_5336AN HP ZHAN 66 Pro"),
+               },
+       },
        { },
 };