]> asedeno.scripts.mit.edu Git - linux.git/commitdiff
PCI: tegra: Change link retry log level to debug
authorManikanta Maddireddy <mmaddireddy@nvidia.com>
Tue, 18 Jun 2019 18:02:06 +0000 (23:32 +0530)
committerLorenzo Pieralisi <lorenzo.pieralisi@arm.com>
Fri, 5 Jul 2019 12:59:59 +0000 (13:59 +0100)
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>
drivers/pci/controller/pci-tegra.c

index 6086c741cef7993067d2e19bfad2691842f7f032..37c694dcbc9e422acce2ff85bace2a272c38d349 100644 (file)
@@ -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;
                }