Message ID | 20200616142724.11559-3-oliver.graute@kococonnector.com |
---|---|
State | New |
Headers | show |
Series | imx: support for conga-QMX8 board | expand |
On Tue, Jun 16, 2020 at 04:27:22PM +0200, Oliver Graute wrote: > As proposed here: > > https://lists.denx.de/pipermail/u-boot/2020-January/396749.html > > Both of my imx8qm boards (Advantech and Congatec) aren't booting > 2020.01 without this change. Whats the proper way to fix this on my side? Did you mean to say something newer than that? I thought something around here had finally been debugged and fixed at least in some of the failing cases. Thanks!
diff --git a/drivers/core/device.c b/drivers/core/device.c index a7408d9c76..2bff618f6c 100644 --- a/drivers/core/device.c +++ b/drivers/core/device.c @@ -448,11 +448,8 @@ int device_probe(struct udevice *dev) if (CONFIG_IS_ENABLED(POWER_DOMAIN) && dev->parent && (device_get_uclass_id(dev) != UCLASS_POWER_DOMAIN) && - !(drv->flags & DM_FLAG_DEFAULT_PD_CTRL_OFF)) { - ret = dev_power_domain_on(dev); - if (ret) - goto fail; - } + !(drv->flags & DM_FLAG_DEFAULT_PD_CTRL_OFF)) + dev_power_domain_on(dev); ret = uclass_pre_probe_device(dev); if (ret)