Skip to contentSkip to conversation

mfd: rohm-bd71828: enable wakeup via power button

PATCH Applied Andreas Kemnade 3 participants 3 messages Feb 6 – Mar 5

Subsystems (2)
lore
Share & tools
lore
#0 lore raw

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.

---
 drivers/mfd/rohm-bd71828.c | 1 +
 1 file changed, 1 insertion(+)
drivers/mfd/rohm-bd71828.c +1 -0
index 84a64c3b9c9f..a608b833027e 100644
@@ -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
maintainer Acked-by on v1 1/1
#1 lore raw
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.

Thanks Andreas!

Quoted 16 lines
---
  drivers/mfd/rohm-bd71828.c | 1 +
  1 file changed, 1 insertion(+)
drivers/mfd/rohm-bd71828.c +1 -0
index 84a64c3b9c9f..a608b833027e 100644
@@ -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! ~~
maintainer Applied
#2 lore raw

Re: (subset) [PATCH] mfd: rohm-bd71828: enable wakeup via power button

In reply to Andreas Kemnade
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.

Applied, thanks!

[1/1] mfd: rohm-bd71828: enable wakeup via power button

      commit: c3142c7585e943c12894651f6dc2816dff99991f

--
Lee Jones [李琼斯]