public inbox for u-boot@lists.denx.de
 help / color / mirror / Atom feed
From: Fabio Estevam <festevam@gmail.com>
To: u-boot@lists.denx.de
Subject: [PATCH 1/3] mx7dsabresd: Fix the pmic_get() parameter in the DM case
Date: Fri, 20 Dec 2019 14:59:26 -0300	[thread overview]
Message-ID: <20191220175928.13195-1-festevam@gmail.com> (raw)

When pmic_get() is used with DM the first parameter must be
the complete node name plus the unit address, so fix it
accordingly.

Reported-by: Igor Opaniuk <igor.opaniuk@toradex.com>
Signed-off-by: Fabio Estevam <festevam@gmail.com>
---
 board/freescale/mx7dsabresd/mx7dsabresd.c | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/board/freescale/mx7dsabresd/mx7dsabresd.c b/board/freescale/mx7dsabresd/mx7dsabresd.c
index f1120d67e3..05cf8c8c7c 100644
--- a/board/freescale/mx7dsabresd/mx7dsabresd.c
+++ b/board/freescale/mx7dsabresd/mx7dsabresd.c
@@ -326,7 +326,7 @@ int power_init_board(void)
 	struct udevice *dev;
 	int ret, dev_id, rev_id;
 
-	ret = pmic_get("pfuze3000", &dev);
+	ret = pmic_get("pfuze3000 at 08", &dev);
 	if (ret == -ENODEV)
 		return 0;
 	if (ret != 0)
-- 
2.17.1

             reply	other threads:[~2019-12-20 17:59 UTC|newest]

Thread overview: 9+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2019-12-20 17:59 Fabio Estevam [this message]
2019-12-20 17:59 ` [PATCH 2/3] mx6sllevk: Fix the pmic_get() parameter in the DM case Fabio Estevam
2019-12-23  6:47   ` Peng Fan
2020-01-04 11:00   ` sbabic at denx.de
2019-12-20 17:59 ` [PATCH 3/3] mx6slevk: " Fabio Estevam
2019-12-23  6:47   ` Peng Fan
2020-01-04 11:03   ` sbabic at denx.de
2019-12-23  6:47 ` [PATCH 1/3] mx7dsabresd: " Peng Fan
2020-01-04 11:03 ` sbabic at denx.de

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=20191220175928.13195-1-festevam@gmail.com \
    --to=festevam@gmail.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