ACPI / EC: Use ec_no_wakeup on Thinkpad X1 Carbon 6th
authorMika Westerberg <mika.westerberg@linux.intel.com>
Mon, 18 Jun 2018 11:17:16 +0000 (14:17 +0300)
committerRafael J. Wysocki <rafael.j.wysocki@intel.com>
Mon, 18 Jun 2018 11:32:37 +0000 (13:32 +0200)
commit8195a655e5ce09550aff81b2573d9b015d520cb9
tree6c7b7e4f5744b0b5246f06441ee2abe110253492
parentce397d215ccd07b8ae3f71db689aedb85d56ab40
ACPI / EC: Use ec_no_wakeup on Thinkpad X1 Carbon 6th

On this system EC interrupt triggers constantly kicking devices out of
low power states and thus blocking power management. The system also has
a PCIe root port hosting Alpine Ridge Thunderbolt controller and it
never gets a chance to go to D3cold because of this.

Since the power button works the same regardless if EC interrupt is
enabled or not during s2idle, add a quirk for this machine that sets
ec_no_wakeup=true preventing spurious wakeups.

Signed-off-by: Mika Westerberg <mika.westerberg@linux.intel.com>
Signed-off-by: Rafael J. Wysocki <rafael.j.wysocki@intel.com>
drivers/acpi/ec.c