]> git.dujemihanovic.xyz Git - u-boot.git/commitdiff
arm: meson: change trace level for phy errors managed by uclass
authorPatrick Delaunay <patrick.delaunay@st.com>
Fri, 3 Jul 2020 15:36:46 +0000 (17:36 +0200)
committerTom Rini <trini@konsulko.com>
Tue, 8 Sep 2020 12:46:32 +0000 (08:46 -0400)
As the error message is now displayed by generic phy functions,
the pr_err can be change to pr_debug.

Signed-off-by: Patrick Delaunay <patrick.delaunay@st.com>
Acked-by: Neil Armstrong <narmstrong@baylibre.com>
arch/arm/mach-meson/board-gx.c

index c4cc11f1de31c66d7f0fa0078134ae369635f227..b4fde46fcb6d471e85fe6654392e2f8c1903778e 100644 (file)
@@ -196,8 +196,8 @@ int board_usb_init(int index, enum usb_init_type init)
        for (i = 0; i < 2; i++) {
                ret = generic_phy_init(&usb_phys[i]);
                if (ret) {
-                       pr_err("Can't init USB PHY%d for %s\n",
-                              i, ofnode_get_name(dwc2_node));
+                       pr_debug("Can't init USB PHY%d for %s\n",
+                                i, ofnode_get_name(dwc2_node));
                        return ret;
                }
        }
@@ -205,8 +205,8 @@ int board_usb_init(int index, enum usb_init_type init)
        for (i = 0; i < 2; i++) {
                ret = generic_phy_power_on(&usb_phys[i]);
                if (ret) {
-                       pr_err("Can't power USB PHY%d for %s\n",
-                              i, ofnode_get_name(dwc2_node));
+                       pr_debug("Can't power USB PHY%d for %s\n",
+                                i, ofnode_get_name(dwc2_node));
                        return ret;
                }
        }