diff mbox series

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

Message ID 20200218083836.6369-3-patrick.delaunay@st.com
State Changes Requested
Delegated to: Marek Vasut
Headers show
Series [v2,1/8] phy: generic: add error trace to detect PHY issue in uclass | expand

Commit Message

Patrick DELAUNAY Feb. 18, 2020, 8:38 a.m. UTC
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>
---

Changes in v2: None

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

Comments

Marek Vasut Feb. 18, 2020, 5:41 p.m. UTC | #1
On 2/18/20 9:38 AM, Patrick Delaunay wrote:
> As the error message is now displayed by generic phy functions,
> the pr_err can be change to pr_idebug.

pr_debug(), not pr_ i debug()
diff mbox series

Patch

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;
 	}