Re: [PATCH AUTOSEL 5.10 02/25] regulator: core: avoid regulator_resolve_supply() race condition

From: Sasha Levin
Date: Tue Feb 02 2021 - 20:05:25 EST


On Tue, Feb 02, 2021 at 04:12:43PM +0000, Mark Brown wrote:
On Tue, Feb 02, 2021 at 10:05:52AM -0500, Sasha Levin wrote:
From: David Collins <collinsd@xxxxxxxxxxxxxx>

[ Upstream commit eaa7995c529b54d68d97a30f6344cc6ca2f214a7 ]

The final step in regulator_register() is to call
regulator_resolve_supply() for each registered regulator
(including the one in the process of being registered). The

This introduces a lockdep warning, there's a follow up commit if you
want to backport it or it should be fine to just not backport either.

Okay, I'll see if it made it next week before I queue it up. Thanks!

--
Thanks,
Sasha