diff options
author | Bjorn Helgaas <bhelgaas@google.com> | 2024-11-25 20:40:57 +0100 |
---|---|---|
committer | Bjorn Helgaas <bhelgaas@google.com> | 2024-11-25 20:40:57 +0100 |
commit | 5b8d59ca2727214884b07bda208e101b6b18e364 (patch) | |
tree | 15f8420b16df6790166783eb6d09f453cb7f77a1 | |
parent | Merge branch 'pci/endpoint' (diff) | |
parent | PCI: cadence: Lower severity of message when phy-names property is absent in DTS (diff) | |
download | linux-5b8d59ca2727214884b07bda208e101b6b18e364.tar.xz linux-5b8d59ca2727214884b07bda208e101b6b18e364.zip |
Merge branch 'pci/controller/cadence'
- Lower severity of 'phy-names' message (Bartosz Wawrzyniak)
* pci/controller/cadence:
PCI: cadence: Lower severity of message when phy-names property is absent in DTS
-rw-r--r-- | drivers/pci/controller/cadence/pcie-cadence.c | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/drivers/pci/controller/cadence/pcie-cadence.c b/drivers/pci/controller/cadence/pcie-cadence.c index 4251fac5e310..204e045aed8c 100644 --- a/drivers/pci/controller/cadence/pcie-cadence.c +++ b/drivers/pci/controller/cadence/pcie-cadence.c @@ -197,7 +197,7 @@ int cdns_pcie_init_phy(struct device *dev, struct cdns_pcie *pcie) phy_count = of_property_count_strings(np, "phy-names"); if (phy_count < 1) { - dev_err(dev, "no phy-names. PHY will not be initialized\n"); + dev_info(dev, "no \"phy-names\" property found; PHY will not be initialized\n"); pcie->phy_count = 0; return 0; } @@ -260,7 +260,7 @@ static int cdns_pcie_resume_noirq(struct device *dev) ret = cdns_pcie_enable_phy(pcie); if (ret) { - dev_err(dev, "failed to enable phy\n"); + dev_err(dev, "failed to enable PHY\n"); return ret; } |