From: Binbin Zhou <zhoubinbin@uniontech.com>
Date: Thu, 28 Oct 2021 21:44:32 +0800
Subject: ACPI: EC: Use ec_no_wakeup on HP ZHAN 66 Pro
Patch-mainline: v5.16-rc1
Git-commit: eb794e3c6bf0890bc1039baa6bbf06e922cfa9a3
References: jsc#PED-1408
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>
Acked-by: Lee, Chun-Yi <jlee@suse.com>
---
drivers/acpi/ec.c | 7 +++++++
1 file changed, 7 insertions(+)
--- a/drivers/acpi/ec.c
+++ b/drivers/acpi/ec.c
@@ -2152,6 +2152,13 @@ static const struct dmi_system_id acpi_e
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"),
+ },
+ },
{ },
};