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

Andreas Kemnade posted 1 patch 1 day, 11 hours ago
drivers/mfd/rohm-bd71828.c | 1 +
1 file changed, 1 insertion(+)
[PATCH] mfd: rohm-bd71828: enable wakeup via power button
Posted by Andreas Kemnade 1 day, 11 hours ago
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>
---
 drivers/mfd/rohm-bd71828.c | 1 +
 1 file changed, 1 insertion(+)

diff --git a/drivers/mfd/rohm-bd71828.c b/drivers/mfd/rohm-bd71828.c
index 84a64c3b9c9f..a608b833027e 100644
--- a/drivers/mfd/rohm-bd71828.c
+++ b/drivers/mfd/rohm-bd71828.c
@@ -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 = {
-- 
2.47.3