Skip to content

Commit 5b8d59c

Browse files
committed
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
2 parents bd43348 + e3e309b commit 5b8d59c

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

drivers/pci/controller/cadence/pcie-cadence.c

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -197,7 +197,7 @@ int cdns_pcie_init_phy(struct device *dev, struct cdns_pcie *pcie)
197197

198198
phy_count = of_property_count_strings(np, "phy-names");
199199
if (phy_count < 1) {
200-
dev_err(dev, "no phy-names. PHY will not be initialized\n");
200+
dev_info(dev, "no \"phy-names\" property found; PHY will not be initialized\n");
201201
pcie->phy_count = 0;
202202
return 0;
203203
}
@@ -260,7 +260,7 @@ static int cdns_pcie_resume_noirq(struct device *dev)
260260

261261
ret = cdns_pcie_enable_phy(pcie);
262262
if (ret) {
263-
dev_err(dev, "failed to enable phy\n");
263+
dev_err(dev, "failed to enable PHY\n");
264264
return ret;
265265
}
266266

0 commit comments

Comments
 (0)