Browse Source

ata: dwc-ahci: 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_debug.

Signed-off-by: Patrick Delaunay <patrick.delaunay@st.com>
Patrick Delaunay 3 years ago
parent
commit
fc8ead1a0a
1 changed files with 2 additions and 2 deletions
  1. 2 2
      drivers/ata/dwc_ahci.c

+ 2 - 2
drivers/ata/dwc_ahci.c

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