]> www.infradead.org Git - users/hch/misc.git/commit
Input: hisi_powerkey - enable system-wakeup for s2idle
authorUlf Hansson <ulf.hansson@linaro.org>
Thu, 6 Mar 2025 11:50:21 +0000 (12:50 +0100)
committerDmitry Torokhov <dmitry.torokhov@gmail.com>
Sun, 11 May 2025 05:26:33 +0000 (22:26 -0700)
commite98960bc4df931a2f4fa88f7e55370699ca4dd82
treea83d08280594a6508da23d06397913c1208b1ac4
parenta609cb4cc07aa9ab8f50466622814356c06f2c17
Input: hisi_powerkey - enable system-wakeup for s2idle

To wake up the system from s2idle when pressing the power-button, let's
convert from using pm_wakeup_event() to pm_wakeup_dev_event(), as it allows
us to specify the "hard" in-parameter, which needs to be set for s2idle.

Signed-off-by: Ulf Hansson <ulf.hansson@linaro.org>
Link: https://lore.kernel.org/r/20250306115021.797426-1-ulf.hansson@linaro.org
Signed-off-by: Dmitry Torokhov <dmitry.torokhov@gmail.com>
drivers/input/misc/hisi_powerkey.c