ata: dwc-ahci: change trace level for phy errors managed by uclass
authorPatrick Delaunay <patrick.delaunay@st.com>
Fri, 3 Jul 2020 15:36:44 +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>
drivers/ata/dwc_ahci.c

index 825fe57..ed0527c 100644 (file)
@@ -62,13 +62,13 @@ static int dwc_ahci_probe(struct udevice *dev)
 
        ret = generic_phy_init(&phy);
        if (ret) {
-               pr_err("unable to initialize the sata phy\n");
+               pr_debug("unable to initialize the sata phy\n");
                return ret;
        }
 
        ret = generic_phy_power_on(&phy);
        if (ret) {
-               pr_err("unable to power on the sata phy\n");
+               pr_debug("unable to power on the sata phy\n");
                return ret;
        }