diff options
author | Aaron Ma <aaron.ma@canonical.com> | 2018-07-31 18:52:39 +0800 |
---|---|---|
committer | Rafael J. Wysocki <rafael.j.wysocki@intel.com> | 2018-08-06 10:14:47 +0200 |
commit | b047c62e24418b9f62b721be017ec5c0364166a5 (patch) | |
tree | 9a3ab7cbc50cc3e0d320d381e41c70b0204c99fc /drivers/acpi/ec.c | |
parent | 2c4d6baf1bc4f7729773ffcee9ba2a9781578633 (diff) | |
download | linux-b047c62e24418b9f62b721be017ec5c0364166a5.tar.bz2 |
ACPI / EC: Use ec_no_wakeup on ThinkPad X1 Yoga 3rd
Like on X1C6, on X1Y3 EC interrupts constantly wake up system from
s2idle, the power consumption is extremely high.
So make ec_no_wakeup be true as default to keep system in s2idle mode
and reduce power consumption.
Power button works when ec_no_wakeup=true.
Signed-off-by: Aaron Ma <aaron.ma@canonical.com>
Signed-off-by: Rafael J. Wysocki <rafael.j.wysocki@intel.com>
Diffstat (limited to 'drivers/acpi/ec.c')
-rw-r--r-- | drivers/acpi/ec.c | 7 |
1 files changed, 7 insertions, 0 deletions
diff --git a/drivers/acpi/ec.c b/drivers/acpi/ec.c index 917f77f4cb55..6291d5c77267 100644 --- a/drivers/acpi/ec.c +++ b/drivers/acpi/ec.c @@ -2045,6 +2045,13 @@ static const struct dmi_system_id acpi_ec_no_wakeup[] = { DMI_MATCH(DMI_PRODUCT_FAMILY, "Thinkpad X1 Carbon 6th"), }, }, + { + .ident = "ThinkPad X1 Yoga 3rd", + .matches = { + DMI_MATCH(DMI_SYS_VENDOR, "LENOVO"), + DMI_MATCH(DMI_PRODUCT_FAMILY, "ThinkPad X1 Yoga 3rd"), + }, + }, { }, }; |