mirror of
https://git.kernel.org/pub/scm/linux/kernel/git/torvalds/linux.git
synced 2026-05-16 03:11:11 -04:00
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>
This commit is contained in:
committed by
Lee Jones
parent
ffdc5c51f8
commit
eaa0a41774
@@ -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 = {
|
||||
|
||||
Reference in New Issue
Block a user