summaryrefslogtreecommitdiffstats
path: root/drivers/pci
diff options
context:
space:
mode:
authorVidya Sagar <vidyas@nvidia.com>2022-09-13 15:42:37 +0530
committerLorenzo Pieralisi <lpieralisi@kernel.org>2022-11-10 16:36:34 +0100
commit8405d8f0956d227c3355d9bdbabc23f79f721ce4 (patch)
treee77f2bfd078aa45ab9248ba840eb4603063ce59f /drivers/pci
parentfba31beab3578b793060f549188fe682df7d3ed9 (diff)
downloadlinux-8405d8f0956d227c3355d9bdbabc23f79f721ce4.tar.gz
linux-8405d8f0956d227c3355d9bdbabc23f79f721ce4.tar.bz2
linux-8405d8f0956d227c3355d9bdbabc23f79f721ce4.zip
PCI: dwc: Use dev_info for PCIe link down event logging
Some of the platforms (like Tegra194 and Tegra234) have open slots and not having an endpoint connected to the slot is not an error. So, changing the macro from dev_err to dev_info to log the event. Link: https://lore.kernel.org/r/20220913101237.4337-1-vidyas@nvidia.com Tested-by: Jon Hunter <jonathanh@nvidia.com> Signed-off-by: Vidya Sagar <vidyas@nvidia.com> Signed-off-by: Lorenzo Pieralisi <lpieralisi@kernel.org> Acked-by: Jon Hunter <jonathanh@nvidia.com> Acked-by: Manivannan Sadhasivam <manivannan.sadhasivam@linaro.org>
Diffstat (limited to 'drivers/pci')
-rw-r--r--drivers/pci/controller/dwc/pcie-designware.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/drivers/pci/controller/dwc/pcie-designware.c b/drivers/pci/controller/dwc/pcie-designware.c
index 9e4d96e5a3f5..432aead68d1f 100644
--- a/drivers/pci/controller/dwc/pcie-designware.c
+++ b/drivers/pci/controller/dwc/pcie-designware.c
@@ -448,7 +448,7 @@ int dw_pcie_wait_for_link(struct dw_pcie *pci)
}
if (retries >= LINK_WAIT_MAX_RETRIES) {
- dev_err(pci->dev, "Phy link never came up\n");
+ dev_info(pci->dev, "Phy link never came up\n");
return -ETIMEDOUT;
}