Skip to content

Commit eaa0a41

Browse files
akemnadelag-linaro
authored andcommitted
mfd: rohm-bd71828: Enable wakeup via power button
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>
1 parent ffdc5c5 commit eaa0a41

1 file changed

Lines changed: 1 addition & 0 deletions

File tree

drivers/mfd/rohm-bd71828.c

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -41,6 +41,7 @@ static struct gpio_keys_button button = {
4141
.code = KEY_POWER,
4242
.gpio = -1,
4343
.type = EV_KEY,
44+
.wakeup = 1,
4445
};
4546

4647
static const struct gpio_keys_platform_data bd71828_powerkey_data = {

0 commit comments

Comments
 (0)