]> git.proxmox.com Git - mirror_ubuntu-bionic-kernel.git/commit
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)
committerJuerg Haefliger <juergh@canonical.com>
Wed, 24 Jul 2019 01:42:31 +0000 (19:42 -0600)
commitd081be0258f52f5575170882c1bfe560b9e74dee
treed35e112c3d7187ac3b5c93863bcb20f236afbe4c
parentf3a61f8f42707e771c27ae2bd0c074d10752d3e5
ACPI / EC: Use ec_no_wakeup on Thinkpad X1 Carbon 6th

BugLink: https://bugs.launchpad.net/bugs/1835845
[ Upstream commit 8195a655e5ce09550aff81b2573d9b015d520cb9 ]

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>
Signed-off-by: Sasha Levin <alexander.levin@microsoft.com>
Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
Signed-off-by: Kamal Mostafa <kamal@canonical.com>
Signed-off-by: Khalid Elmously <khalid.elmously@canonical.com>
drivers/acpi/ec.c