[<prev] [next>] [<thread-prev] [day] [month] [year] [list]
Message-ID: <4d265ce6-dfaa-4ae7-9f7b-5a3519e28b20@gmail.com>
Date: Mon, 9 Feb 2026 09:10:26 +0200
From: Matti Vaittinen <mazziesaccount@...il.com>
To: Andreas Kemnade <andreas@...nade.info>, lee@...nel.org,
linux-kernel@...r.kernel.org
Subject: Re: [PATCH] mfd: rohm-bd71828: enable wakeup via power button
On 06/02/2026 11:37, Andreas Kemnade wrote:
> 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@...nade.info>
Acked-by: Matti Vaittinen <mazziesaccount@...il.com>
Thanks Andreas!
> ---
> 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 = {
--
---
Matti Vaittinen
Linux kernel developer at ROHM Semiconductors
Oulu Finland
~~ When things go utterly wrong vim users can always type :help! ~~
Powered by blists - more mailing lists