From: Patrick Delaunay <patrick.delaunay@st.com>
Date: Fri, 3 Jul 2020 15:36:41 +0000 (+0200)
Subject: board: sunxi: change trace level for phy errors managed by uclass
X-Git-Tag: v2025.01-rc5-pxa1908~2192^2~14^2~5
X-Git-Url: http://git.dujemihanovic.xyz/img/html/static/%7B%7B?a=commitdiff_plain;h=f286e37c14ca47bf3303f47b19771b7242724a3b;p=u-boot.git

board: sunxi: change trace level for phy errors managed by uclass

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@st.com>
---

diff --git a/board/sunxi/board.c b/board/sunxi/board.c
index 71e2b758a3..a5cf0b65c7 100644
--- a/board/sunxi/board.c
+++ b/board/sunxi/board.c
@@ -711,7 +711,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;
 	}