public inbox for u-boot@lists.denx.de
 help / color / mirror / Atom feed
From: Oliver Graute <oliver.graute@kococonnector.com>
To: u-boot@lists.denx.de
Subject: [PATCH 2/2] hack to boot with 2020.01
Date: Tue, 16 Jun 2020 16:27:22 +0200	[thread overview]
Message-ID: <20200616142724.11559-3-oliver.graute@kococonnector.com> (raw)
In-Reply-To: <20200616142724.11559-1-oliver.graute@kococonnector.com>

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?
---
 drivers/core/device.c | 7 ++-----
 1 file changed, 2 insertions(+), 5 deletions(-)

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)
-- 
2.17.1

  parent reply	other threads:[~2020-06-16 14:27 UTC|newest]

Thread overview: 6+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2020-06-16 14:27 [PATCH v3 0/2] imx: support for conga-QMX8 board Oliver Graute
2020-06-16 14:27 ` [PATCH v3] " Oliver Graute
2020-07-16  9:02   ` Stefano Babic
2020-06-16 14:27 ` Oliver Graute [this message]
2020-06-16 15:31   ` [PATCH 2/2] hack to boot with 2020.01 Tom Rini
2020-11-04 15:44 ` [PATCH v3 0/2] imx: support for conga-QMX8 board Oliver Graute

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=20200616142724.11559-3-oliver.graute@kococonnector.com \
    --to=oliver.graute@kococonnector.com \
    --cc=u-boot@lists.denx.de \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox