[PATCH] PCI: cadence: Lower severity of message when phy-names property is absent in DTS

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



The phy-names property is optional, so the message indicating its absence
during the probe should be of 'info' severity rather than 'error' severity.

Signed-off-by: Bartosz Wawrzyniak <bwawrzyn@xxxxxxxxx>
---
 drivers/pci/controller/cadence/pcie-cadence.c | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/drivers/pci/controller/cadence/pcie-cadence.c b/drivers/pci/controller/cadence/pcie-cadence.c
index 4251fac5e310..88122d480432 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.  PHY will not be initialized\n");
 		pcie->phy_count = 0;
 		return 0;
 	}
-- 
2.28.0





[Index of Archives]     [DMA Engine]     [Linux Coverity]     [Linux USB]     [Video for Linux]     [Linux Audio Users]     [Yosemite News]     [Linux Kernel]     [Linux SCSI]     [Greybus]

  Powered by Linux