diff options
author | David McFarland <[email protected]> | 2024-04-04 08:41:45 -0300 |
---|---|---|
committer | Ilpo Järvinen <[email protected]> | 2024-04-08 18:21:14 +0300 |
commit | 5864e479ca4344f3a5df8074524da24c960f440b (patch) | |
tree | 848dd4094a9708923ebbecb31b7e860baae5b590 /tools/perf/util/trace-event-scripting.c | |
parent | b45d0d01da542be280d935d87b71465028cdcb1f (diff) |
platform/x86/intel/hid: Don't wake on 5-button releases
If, for example, the power button is configured to suspend, holding it
and releasing it after the machine has suspended, will wake the machine.
Also on some machines, power button release events are sent during
hibernation, even if the button wasn't used to hibernate the machine.
This causes hibernation to be aborted.
Fixes: 0c4cae1bc00d ("PM: hibernate: Avoid missing wakeup events during hibernation")
Signed-off-by: David McFarland <[email protected]>
Tested-by: Enrik Berkhan <[email protected]>
Reviewed-by: Hans de Goede <[email protected]>
Link: https://lore.kernel.org/r/[email protected]
Reviewed-by: Ilpo Järvinen <[email protected]>
Signed-off-by: Ilpo Järvinen <[email protected]>
Diffstat (limited to 'tools/perf/util/trace-event-scripting.c')
0 files changed, 0 insertions, 0 deletions