]> git.ipfire.org Git - thirdparty/kernel/stable.git/commitdiff
mfd: rohm-bd71828: Enable wakeup via power button
authorAndreas Kemnade <andreas@kemnade.info>
Fri, 6 Feb 2026 09:37:57 +0000 (10:37 +0100)
committerLee Jones <lee@kernel.org>
Wed, 25 Mar 2026 12:44:49 +0000 (12:44 +0000)
It is normally expected to get out of deeper power saving states by
pressing the power button, so enable wakeup for it.

Signed-off-by: Andreas Kemnade <andreas@kemnade.info>
Acked-by: Matti Vaittinen <mazziesaccount@gmail.com>
Link: https://patch.msgid.link/20260206093757.573377-1-andreas@kemnade.info
Signed-off-by: Lee Jones <lee@kernel.org>
drivers/mfd/rohm-bd71828.c

index e54152a035106a587d2b0f9cd45573d78c17508a..a79f354bf5cb6189dac0350910fd2378553a8b99 100644 (file)
@@ -41,6 +41,7 @@ static struct gpio_keys_button button = {
        .code = KEY_POWER,
        .gpio = -1,
        .type = EV_KEY,
+       .wakeup = 1,
 };
 
 static const struct gpio_keys_platform_data bd71828_powerkey_data = {