From: zhoubinbin@uniontech.com
To: rafael@kernel.org, lenb@kernel.org, linux-acpi@vger.kernel.org
Cc: zhoubb.aaron@gmail.com, Binbin Zhou <zhoubinbin@uniontech.com>
Subject: [PATCH] ACPI / EC: Use ec_no_wakeup on HP ZHAN 66 Pro
Date: Thu, 28 Oct 2021 21:44:32 +0800 [thread overview]
Message-ID: <20211028134432.31719-1-zhoubinbin@uniontech.com> (raw)
From: Binbin Zhou <zhoubinbin@uniontech.com>
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 <zhoubinbin@uniontech.com>
---
drivers/acpi/ec.c | 7 +++++++
1 file changed, 7 insertions(+)
diff --git a/drivers/acpi/ec.c b/drivers/acpi/ec.c
index e629e891d1bb..7c32da8f51ed 100644
--- a/drivers/acpi/ec.c
+++ b/drivers/acpi/ec.c
@@ -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"),
+ },
+ },
{ },
};
--
2.20.1
next reply other threads:[~2021-10-28 13:44 UTC|newest]
Thread overview: 2+ messages / expand[flat|nested] mbox.gz Atom feed top
2021-10-28 13:44 zhoubinbin [this message]
2021-11-03 18:14 ` [PATCH] ACPI / EC: Use ec_no_wakeup on HP ZHAN 66 Pro Rafael J. Wysocki
Reply instructions:
You may reply publicly to this message via plain-text email
using any one of the following methods:
* Save the following mbox file, import it into your mail client,
and reply-to-all from there: mbox
Avoid top-posting and favor interleaved quoting:
https://en.wikipedia.org/wiki/Posting_style#Interleaved_style
* Reply using the --to, --cc, and --in-reply-to
switches of git-send-email(1):
git send-email \
--in-reply-to=20211028134432.31719-1-zhoubinbin@uniontech.com \
--to=zhoubinbin@uniontech.com \
--cc=lenb@kernel.org \
--cc=linux-acpi@vger.kernel.org \
--cc=rafael@kernel.org \
--cc=zhoubb.aaron@gmail.com \
/path/to/YOUR_REPLY
https://kernel.org/pub/software/scm/git/docs/git-send-email.html
* If your mail client supports setting the In-Reply-To header
via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line
before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox