Skip to content

Commit

Permalink
PCI: tegra: Change link retry log level to debug
Browse files Browse the repository at this point in the history
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>
  • Loading branch information
Manikanta Maddireddy authored and Lorenzo Pieralisi committed Jul 5, 2019
1 parent dbdcc22 commit 4b16a82
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion drivers/pci/controller/pci-tegra.c
Original file line number Diff line number Diff line change
Expand Up @@ -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;
}

Expand Down

0 comments on commit 4b16a82

Please sign in to comment.