forked from torvalds/linux
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
regulator: axp20x: resolve self dependency issue
Some regulators might take their power supply from other regulators defined by the same PMIC. Retry regulators registration until all regulators are registered or the last iteration didn't manage to register any new regulator (which means there's an external dependency missing and we can thus return EPROBE_DEFER). Signed-off-by: Boris BREZILLON <boris.brezillon@free-electrons.com>
- Loading branch information
1 parent
b877c66
commit ecc8b97
Showing
1 changed file
with
58 additions
and
17 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters