From: Greg KH <gregkh@linuxfoundation.org>
To: Andre Kalb <andre.kalb@sma.de>
Cc: stable@vger.kernel.org
Subject: Re: [PATCH] regulator: core: Let boot-on regulators be powered off
Date: Mon, 24 Jan 2022 10:44:15 +0100 [thread overview]
Message-ID: <Ye5077LSDQ9j8qmq@kroah.com> (raw)
In-Reply-To: <YetC7/ZaUwd68hGi@pc6682>
On Sat, Jan 22, 2022 at 12:34:07AM +0100, Andre Kalb wrote:
> [ Upstream commit 089b3f61ecfc43ca4ea26d595e1d31ead6de3f7b ]
>
> Boot-on regulators are always kept on because their use_count value
> is now incremented at boot time and never cleaned.
>
> Only increment count value for alway-on regulators.
> regulator_late_cleanup() is now able to power off boot-on regulators
> when unused.
>
> Fixes: 45f9c1b2e57c ("regulator: core: Clean enabling always-on regulators + their supplies")
> Signed-off-by: Pascal Paillet <p.paillet@st.com>
> Link: https://lore.kernel.org/r/20191113102737.27831-1-p.paillet@st.com
> Signed-off-by: Mark Brown <broonie@kernel.org>
> Acked-by: Andre Kalb <andre.kalb@sma.de>
> # 4.19.x
> ---
> drivers/regulator/core.c | 4 +++-
> 1 file changed, 3 insertions(+), 1 deletion(-)
Now queued up, thanks.
greg k-h
prev parent reply other threads:[~2022-01-24 9:44 UTC|newest]
Thread overview: 2+ messages / expand[flat|nested] mbox.gz Atom feed top
2022-01-21 23:34 [PATCH] regulator: core: Let boot-on regulators be powered off Andre Kalb
2022-01-24 9:44 ` Greg KH [this message]
Reply instructions:
You may reply publicly to this message via plain-text email
using any one of the following methods:
* Save the following mbox file, import it into your mail client,
and reply-to-all from there: mbox
Avoid top-posting and favor interleaved quoting:
https://en.wikipedia.org/wiki/Posting_style#Interleaved_style
* Reply using the --to, --cc, and --in-reply-to
switches of git-send-email(1):
git send-email \
--in-reply-to=Ye5077LSDQ9j8qmq@kroah.com \
--to=gregkh@linuxfoundation.org \
--cc=andre.kalb@sma.de \
--cc=stable@vger.kernel.org \
/path/to/YOUR_REPLY
https://kernel.org/pub/software/scm/git/docs/git-send-email.html
* If your mail client supports setting the In-Reply-To header
via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line
before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox