From: Fabio Estevam <festevam@gmail.com>
To: u-boot@lists.denx.de
Subject: [PATCH v2 3/5] wandboard: Do not print error when PMIC is not present
Date: Fri, 17 Apr 2020 09:27:11 -0300 [thread overview]
Message-ID: <20200417122713.30574-3-festevam@gmail.com> (raw)
In-Reply-To: <20200417122713.30574-1-festevam@gmail.com>
On wandboard variants prior to revD1, there is no PMIC populated, so
do not print an error when the reading of the device ID register fails.
Signed-off-by: Fabio Estevam <festevam@gmail.com>
---
Changes since v1:
- None
board/wandboard/wandboard.c | 2 +-
1 file changed, 1 insertion(+), 1 deletion(-)
diff --git a/board/wandboard/wandboard.c b/board/wandboard/wandboard.c
index 90957167b2..7fd60682a5 100644
--- a/board/wandboard/wandboard.c
+++ b/board/wandboard/wandboard.c
@@ -369,7 +369,7 @@ int power_init_board(void)
reg = pmic_reg_read(dev, PFUZE100_DEVICEID);
if (reg < 0) {
- printf("pmic_reg_read() ret %d\n", reg);
+ debug("pmic_reg_read() ret %d\n", reg);
return 0;
}
printf("PMIC: PFUZE100 ID=0x%02x\n", reg);
--
2.17.1
next prev parent reply other threads:[~2020-04-17 12:27 UTC|newest]
Thread overview: 16+ messages / expand[flat|nested] mbox.gz Atom feed top
2020-04-17 12:27 [PATCH v2 1/5] wandboard: Fix version detection for mx6q/mx6dl revD1 Fabio Estevam
2020-04-17 12:27 ` [PATCH v2 2/5] pmic: pfuze100: Change error message level to debug Fabio Estevam
2020-04-17 14:51 ` Heiko Schocher
2020-04-19 9:08 ` sbabic at denx.de
2020-04-17 12:27 ` Fabio Estevam [this message]
2020-04-17 14:51 ` [PATCH v2 3/5] wandboard: Do not print error when PMIC is not present Heiko Schocher
2020-04-19 9:09 ` sbabic at denx.de
2020-04-17 12:27 ` [PATCH v2 4/5] wandboard: Remove CONFIG_DISPLAY_BOARDINFO_LATE Fabio Estevam
2020-04-17 14:51 ` Heiko Schocher
2020-04-19 9:09 ` sbabic at denx.de
2020-04-17 12:27 ` [PATCH v2 5/5] wandboard: Print the board version in board_late_init() Fabio Estevam
2020-04-17 14:52 ` Heiko Schocher
2020-04-19 9:09 ` sbabic at denx.de
2020-04-17 14:51 ` [PATCH v2 1/5] wandboard: Fix version detection for mx6q/mx6dl revD1 Heiko Schocher
2020-04-17 16:09 ` Peter Robinson
2020-04-19 9:08 ` 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=20200417122713.30574-3-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