[<prev] [next>] [<thread-prev] [thread-next>] [day] [month] [year] [list]
Message-ID: <ZwiOqHvWascVUSYo@tzungbi-laptop>
Date: Fri, 11 Oct 2024 10:34:16 +0800
From: Tzung-Bi Shih <tzungbi@...nel.org>
To: Thomas Weißschuh <linux@...ssschuh.net>
Cc: Sebastian Reichel <sre@...nel.org>,
"Rafael J. Wysocki" <rafael@...nel.org>,
Len Brown <lenb@...nel.org>,
Pali Rohár <pali@...nel.org>,
Benson Leung <bleung@...omium.org>,
Guenter Roeck <groeck@...omium.org>,
Luca Ceresoli <luca.ceresoli@...tlin.com>, linux-pm@...r.kernel.org,
linux-kernel@...r.kernel.org, linux-acpi@...r.kernel.org,
chrome-platform@...ts.linux.dev
Subject: Re: [PATCH 1/8] power: supply: core: add wakeup source inhibit by
power_supply_config
On Sat, Oct 05, 2024 at 12:05:03PM +0200, Thomas Weißschuh wrote:
> To inhibit wakeup users currently have to use dedicated functions to
> register the power supply: {,devm_}power_supply_register_no_ws().
> This is inconsistent to other runtime settings which can be configured
> through struct power_supply_config.
> It's also not obvious what _no_ws() is meant to mean.
>
> Extend power_supply_config to also be able to inhibit the wakeup source.
>
> Signed-off-by: Thomas Weißschuh <linux@...ssschuh.net>
Reviewed-by: Tzung-Bi Shih <tzungbi@...nel.org>
Powered by blists - more mailing lists