[PATCH v2 3/8] board: sunxi: change trace level for phy errors managed by uclass

Patrick Delaunay patrick.delaunay at st.com
Tue Feb 18 09:38:31 CET 2020


As the error message is now displayed by generic phy functions,
the pr_err can be change to pr_idebug.

Signed-off-by: Patrick Delaunay <patrick.delaunay at st.com>
---

Changes in v2: None

 board/sunxi/board.c | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/board/sunxi/board.c b/board/sunxi/board.c
index 6afea6ef42..9d27f9ceac 100644
--- a/board/sunxi/board.c
+++ b/board/sunxi/board.c
@@ -708,7 +708,7 @@ int g_dnl_board_usb_cable_connected(void)
 
 	ret = generic_phy_init(&phy);
 	if (ret) {
-		pr_err("failed to init %s USB PHY\n", dev->name);
+		pr_debug("failed to init %s USB PHY\n", dev->name);
 		return ret;
 	}
 
-- 
2.17.1



More information about the U-Boot mailing list