]> git.dujemihanovic.xyz Git - u-boot.git/commitdiff
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 825fe57f85222536649dcd7277f8a944e52cd8df..ed0527c97688816d3a4b5d1501300678615ae0ed 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;
        }