summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorManikanta Maddireddy <mmaddireddy@nvidia.com>2019-06-18 20:02:06 +0200
committerLorenzo Pieralisi <lorenzo.pieralisi@arm.com>2019-07-05 14:59:59 +0200
commit4b16a8227907118e011fb396022da671a52b2272 (patch)
treeaae337a9b982aaaf6fa53c4d4c691a7845318b7b
parentPCI: tegra: Add support for GPIO based PERST# (diff)
downloadlinux-4b16a8227907118e011fb396022da671a52b2272.tar.xz
linux-4b16a8227907118e011fb396022da671a52b2272.zip
PCI: tegra: Change link retry log level to debug
Driver checks for link up three times before giving up, each retry attempt is printed as an error. Letting users know that PCIe link is down and in the process of being brought up again is for debug, not an error condition. Signed-off-by: Manikanta Maddireddy <mmaddireddy@nvidia.com> Signed-off-by: Lorenzo Pieralisi <lorenzo.pieralisi@arm.com> Acked-by: Thierry Reding <treding@nvidia.com>
-rw-r--r--drivers/pci/controller/pci-tegra.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/drivers/pci/controller/pci-tegra.c b/drivers/pci/controller/pci-tegra.c
index 6086c741cef7..37c694dcbc9e 100644
--- a/drivers/pci/controller/pci-tegra.c
+++ b/drivers/pci/controller/pci-tegra.c
@@ -2360,7 +2360,7 @@ static bool tegra_pcie_port_check_link(struct tegra_pcie_port *port)
} while (--timeout);
if (!timeout) {
- dev_err(dev, "link %u down, retrying\n", port->index);
+ dev_dbg(dev, "link %u down, retrying\n", port->index);
goto retry;
}