From: Fabio Estevam Date: Fri, 17 Apr 2020 12:27:11 +0000 (-0300) Subject: wandboard: Do not print error when PMIC is not present X-Git-Tag: v2020.10~281^2~12 X-Git-Url: http://review.tizen.org/git/?a=commitdiff_plain;h=b8e74fc8dbb6335f614c45257c330eba07e3e3b4;p=platform%2Fkernel%2Fu-boot.git wandboard: Do not print error when PMIC is not present 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 Tested-by: Heiko Schocher --- diff --git a/board/wandboard/wandboard.c b/board/wandboard/wandboard.c index 9095716..7fd6068 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);