[PATCH] pci: pcie-designware: Do not consider missing PCI device as an error

Alexander Shiyan eagle.alexander923 at gmail.com
Tue Dec 3 00:17:37 PST 2024


The PCI device may not be present on the target board.

Signed-off-by: Alexander Shiyan <eagle.alexander923 at gmail.com>
---
 drivers/pci/pcie-designware.c | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/drivers/pci/pcie-designware.c b/drivers/pci/pcie-designware.c
index 72820de282..b9bac9c4f2 100644
--- a/drivers/pci/pcie-designware.c
+++ b/drivers/pci/pcie-designware.c
@@ -250,7 +250,7 @@ int dw_pcie_wait_for_link(struct dw_pcie *pci)
 			break;
 	}
 
-	dev_err(pci->dev, "Phy link never came up\n");
+	dev_info(pci->dev, "Phy link never came up\n");
 
 	return -ETIMEDOUT;
 }
-- 
2.39.1




More information about the barebox mailing list