Skip to content
Unverified Commit 5864e479 authored by David McFarland's avatar David McFarland Committed by Ilpo Järvinen
Browse files

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: 0c4cae1b ("PM: hibernate: Avoid missing wakeup events during hibernation")
Signed-off-by: default avatarDavid McFarland <corngood@gmail.com>
Tested-by: default avatarEnrik Berkhan <Enrik.Berkhan@inka.de>
Reviewed-by: default avatarHans de Goede <hdegoede@redhat.com>
Link: https://lore.kernel.org/r/878r1tpd6u.fsf_-_@gmail.com


Reviewed-by: default avatarIlpo Järvinen <ilpo.jarvinen@linux.intel.com>
Signed-off-by: default avatarIlpo Järvinen <ilpo.jarvinen@linux.intel.com>
parent b45d0d01
Loading
Loading
Loading
Loading
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please register or to comment