Re: [PATCH] regulator: core: Let boot-on regulators be powered off

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



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@xxxxxx>
> Link: https://lore.kernel.org/r/20191113102737.27831-1-p.paillet@xxxxxx
> Signed-off-by: Mark Brown <broonie@xxxxxxxxxx>
> Acked-by: Andre Kalb <andre.kalb@xxxxxx>
> # 4.19.x
> ---
>  drivers/regulator/core.c | 4 +++-
>  1 file changed, 3 insertions(+), 1 deletion(-)

Now queued up, thanks.

greg k-h



[Index of Archives]     [Linux Kernel]     [Kernel Development Newbies]     [Linux USB Devel]     [Video for Linux]     [Linux Audio Users]     [Yosemite Hiking]     [Linux Kernel]     [Linux SCSI]

  Powered by Linux