* [PATCH] ACPI / EC: Use ec_no_wakeup on HP ZHAN 66 Pro
@ 2021-10-28 13:44 zhoubinbin
2021-11-03 18:14 ` Rafael J. Wysocki
0 siblings, 1 reply; 2+ messages in thread
From: zhoubinbin @ 2021-10-28 13:44 UTC (permalink / raw)
To: rafael, lenb, linux-acpi; +Cc: zhoubb.aaron, Binbin Zhou
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
^ permalink raw reply related [flat|nested] 2+ messages in thread
* Re: [PATCH] ACPI / EC: Use ec_no_wakeup on HP ZHAN 66 Pro
2021-10-28 13:44 [PATCH] ACPI / EC: Use ec_no_wakeup on HP ZHAN 66 Pro zhoubinbin
@ 2021-11-03 18:14 ` Rafael J. Wysocki
0 siblings, 0 replies; 2+ messages in thread
From: Rafael J. Wysocki @ 2021-11-03 18:14 UTC (permalink / raw)
To: zhoubinbin
Cc: Rafael J. Wysocki, Len Brown, ACPI Devel Maling List,
zhoubb.aaron
On Thu, Oct 28, 2021 at 3:44 PM <zhoubinbin@uniontech.com> wrote:
>
> 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"),
> + },
> + },
> { },
> };
>
> --
Applied as 5.16-rc material with some edits in the subject and
changelog, thanks!
^ permalink raw reply [flat|nested] 2+ messages in thread
end of thread, other threads:[~2021-11-03 18:14 UTC | newest]
Thread overview: 2+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2021-10-28 13:44 [PATCH] ACPI / EC: Use ec_no_wakeup on HP ZHAN 66 Pro zhoubinbin
2021-11-03 18:14 ` Rafael J. Wysocki
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox