# Re: \[PATCH AUTOSEL 5.10 02/25\] regulator: core: avoid regulator\_resolve\_supply() race condition

- From: Sasha Levin \<sashal@kernel.org\>
- Date: 2021-02-03 01:05:22 
- List: stable
- Page: https://ratatoskr.run/stable/2021/02/6256434
- Thread: https://ratatoskr.run/stable/2021/02/6255499/t.md

```text
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 <redacted>
>>
>> [ 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
```
