mfd: rohm-bd71828: enable wakeup via power button
PATCH 1/1 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 <[email protected]>
--- drivers/mfd/rohm-bd71828.c | 1 + 1 file changed, 1 insertion(+)
drivers/mfd/rohm-bd71828.c +1 -0
@@ -23,6 +23,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 = {
Signature · 1 line
2.47.3
Quoted 4 lines · Andreas Kemnade
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 <[email protected]>
Acked-by Matti Vaittinen <[email protected]>
Thanks Andreas!
Quoted 16 lines
--- drivers/mfd/rohm-bd71828.c | 1 + 1 file changed, 1 insertion(+)drivers/mfd/rohm-bd71828.c +1
-0@@ -23,6 +23,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 = {
Signature · 6 lines
--- Matti Vaittinen Linux kernel developer at ROHM Semiconductors Oulu Finland ~~ When things go utterly wrong vim users can always type :help! ~~
Re: (subset) [PATCH] mfd: rohm-bd71828: enable wakeup via power button
In reply to Andreas KemnadeQuoted 4 lines · Andreas Kemnade
It is normally expected to get out of deeper power saving states by pressing the power button, so enable wakeup for it.
Applied, thanks!
[1/1] mfd: rohm-bd71828: enable wakeup via power button
commit: c3142c7585e943c12894651f6dc2816dff99991f
--
Lee Jones [李琼斯]