commit | 93b2091a4c280d956cbbe9f292255b606efd61a0 | [log] [tgz] |
---|---|---|
author | Tom Rini <trini@konsulko.com> | Fri Apr 22 11:06:38 2022 -0400 |
committer | Tom Rini <trini@konsulko.com> | Fri Apr 22 11:06:38 2022 -0400 |
tree | 4b7eccca6320b46bf938ad81042082cc5726e044 | |
parent | 835647bf52b559805d9a486903a0ae9046c5f614 [diff] | |
parent | e91b0031d76f966cae6d54dfaec7d609ac023141 [diff] |
Merge https://gitlab.denx.de/u-boot/custodians/u-boot-pmic
diff --git a/drivers/power/domain/power-domain-uclass.c b/drivers/power/domain/power-domain-uclass.c index 74c33d4..f6286c7 100644 --- a/drivers/power/domain/power-domain-uclass.c +++ b/drivers/power/domain/power-domain-uclass.c
@@ -151,7 +151,7 @@ * off their power-domain parent. So we will get here again and * again and will be stuck in an endless loop. */ - if (!on && dev_get_parent(dev) == pd.dev && + if (count > 0 && !on && dev_get_parent(dev) == pd.dev && device_get_uclass_id(dev) == UCLASS_POWER_DOMAIN) return ret;