ACPI / EC: Use ec_no_wakeup on HP ZHAN 66 Pro
PATCH 1/1 ACPI / EC: Use ec_no_wakeup on HP ZHAN 66 Pro
From: Binbin Zhou <[email protected]>
EC interrupts constantly wake up system from s2idle.
So make ec_no_wakeup be true as default to keep system in s2idle mode and reduce power consumption.
Signed-off-by Binbin Zhou <[email protected]>
--- drivers/acpi/ec.c | 7 +++++++ 1 file changed, 7 insertions(+)
drivers/acpi/ec.c +7 -0
@@ -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"), + }, + }, { }, };
Signature · 1 line
2.20.1
Quoted 21 lines · On Thu, Oct 28, 2021 at 3:44 PM <[email protected]> wrote:
From: Binbin Zhou <[email protected]>
EC interrupts constantly wake up system from s2idle.
So makeec_no_wakeupbe true as default to keep system in s2idle mode and reduce power consumption.Signed-off-by Binbin Zhou <[email protected]>--- drivers/acpi/ec.c | 7 +++++++ 1 file changed, 7 insertions(+)drivers/acpi/ec.c +1
-0@@ -2152,6 +2152,13 @@ static const struct dmi_system_id acpi_ec_no_wakeup[] = { DMI_MATCH(DMI_PRODUCT_FAMILY, "ThinkPad X1 Yoga 3rd"), }, }, + {
drivers/acpi/ec.c static const struct dmi_system_id acpi_ec_no_wakeup[] = {
Quoted 10 lines
drivers/acpi/ec.c +6
-1+ .ident = "HP ZHAN 66 Pro", + .matches = { +DMI_MATCH (DMI_SYS_VENDOR ,"HP" ), + DMI_MATCH(DMI_PRODUCT_FAMILY, "103C_5336AN HP ZHAN 66 Pro"), + }, + }, { }, }; --
Applied as 5.16-rc material with some edits in the subject and changelog, thanks!