From: Fabio Estevam <festevam@gmail.com>
To: u-boot@lists.denx.de
Subject: [PATCH 2/5] pmic: pfuze100: Change error message level to debug
Date: Thu, 16 Apr 2020 21:12:28 -0300 [thread overview]
Message-ID: <20200417001231.11406-2-festevam@gmail.com> (raw)
In-Reply-To: <20200417001231.11406-1-festevam@gmail.com>
On systems that can run on multiple board variants, such as wandboard,
which versions with and without the PMIC populated, it is not useful
to get PMIC error on systems that do not have the PMIC populated.
Change error message level to debug instead.
Signed-off-by: Fabio Estevam <festevam@gmail.com>
---
drivers/power/pmic/pfuze100.c | 2 +-
1 file changed, 1 insertion(+), 1 deletion(-)
diff --git a/drivers/power/pmic/pfuze100.c b/drivers/power/pmic/pfuze100.c
index 6cf5f35f0f..db630f3ad0 100644
--- a/drivers/power/pmic/pfuze100.c
+++ b/drivers/power/pmic/pfuze100.c
@@ -41,7 +41,7 @@ static int pfuze100_write(struct udevice *dev, uint reg, const uint8_t *buff,
static int pfuze100_read(struct udevice *dev, uint reg, uint8_t *buff, int len)
{
if (dm_i2c_read(dev, reg, buff, len)) {
- pr_err("read error from device: %p register: %#x!\n", dev, reg);
+ debug("read error from device: %p register: %#x!\n", dev, reg);
return -EIO;
}
--
2.17.1
next prev parent reply other threads:[~2020-04-17 0:12 UTC|newest]
Thread overview: 14+ messages / expand[flat|nested] mbox.gz Atom feed top
2020-04-17 0:12 [PATCH 1/5] wandboard: Fix detection for mx6q/mx6dl revD1 revariants Fabio Estevam
2020-04-17 0:12 ` Fabio Estevam [this message]
2020-04-17 0:12 ` [PATCH 3/5] wandboard: Do not print error when PMIC is not present Fabio Estevam
2020-04-17 0:12 ` [PATCH 4/5] wandboard: Remove CONFIG_DISPLAY_BOARDINFO_LATE Fabio Estevam
2020-04-17 0:12 ` [PATCH 5/5] wandboard: Remove checkboard() Fabio Estevam
2020-04-17 7:56 ` [PATCH 1/5] wandboard: Fix detection for mx6q/mx6dl revD1 revariants Heiko Schocher
2020-04-17 11:15 ` Fabio Estevam
2020-04-17 11:33 ` Fabio Estevam
2020-04-17 11:41 ` Fabio Estevam
2020-04-17 12:00 ` Derek Atkins
2020-04-17 12:30 ` Fabio Estevam
2020-04-17 14:50 ` Heiko Schocher
2020-04-17 15:02 ` Derek Atkins
-- strict thread matches above, loose matches on Subject: below --
2020-04-17 0:10 Fabio Estevam
2020-04-17 0:10 ` [PATCH 2/5] pmic: pfuze100: Change error message level to debug Fabio Estevam
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=20200417001231.11406-2-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