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

- From: Mark Brown \<broonie@kernel.org\>
- Date: 2021-02-02 16:18:09 
- List: stable
- Page: https://ratatoskr.run/stable/2021/02/6255628
- Thread: https://ratatoskr.run/stable/2021/02/6255499/t.md

```text
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.
```

## Attachments

- [signature.asc](https://ratatoskr.run/stable/2021/02/6255628/attachment/0) (application/pgp-signature, 488 bytes)
