ACPI / EC: Use ec_no_wakeup on ThinkPad X1 Yoga 3rd
authorAaron Ma <aaron.ma@canonical.com>
Tue, 31 Jul 2018 10:52:39 +0000 (18:52 +0800)
committerRafael J. Wysocki <rafael.j.wysocki@intel.com>
Mon, 6 Aug 2018 08:14:47 +0000 (10:14 +0200)
commitb047c62e24418b9f62b721be017ec5c0364166a5
tree9a3ab7cbc50cc3e0d320d381e41c70b0204c99fc
parent2c4d6baf1bc4f7729773ffcee9ba2a9781578633
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>
drivers/acpi/ec.c