diff options
author | Hans de Goede <[email protected]> | 2020-01-05 17:03:57 +0100 |
---|---|---|
committer | Linus Walleij <[email protected]> | 2020-01-07 12:58:15 +0100 |
commit | aa23ca3d98f756d5b1e503fb140665fb24a41a38 (patch) | |
tree | e07a61713359c952402d5a3decb4fd4a7144543f /tools/perf/scripts/python/export-to-sqlite.py | |
parent | 1ad1b54099c231aed8f6f257065c1b322583f264 (diff) |
gpiolib: acpi: Add honor_wakeup module-option + quirk mechanism
On some laptops enabling wakeup on the GPIO interrupts used for ACPI _AEI
event handling causes spurious wakeups.
This commit adds a new honor_wakeup option, defaulting to true (our current
behavior), which can be used to disable wakeup on troublesome hardware
to avoid these spurious wakeups.
This is a workaround for an architectural problem with s2idle under Linux
where we do not have any mechanism to immediately go back to sleep after
wakeup events, other then for embedded-controller events using the standard
ACPI EC interface, for details see:
https://lore.kernel.org/linux-acpi/[email protected]/
One series of laptops which is not able to suspend without this workaround
is the HP x2 10 Cherry Trail models, this commit adds a DMI based quirk
which makes sets honor_wakeup to false on these models.
Cc: [email protected]
Reviewed-by: Andy Shevchenko <[email protected]>
Acked-by: Mika Westerberg <[email protected]>
Signed-off-by: Hans de Goede <[email protected]>
Link: https://lore.kernel.org/r/[email protected]
Signed-off-by: Linus Walleij <[email protected]>
Diffstat (limited to 'tools/perf/scripts/python/export-to-sqlite.py')
0 files changed, 0 insertions, 0 deletions