diff options
author | Fabio Estevam <fabio.estevam@nxp.com> | 2016-12-27 09:40:43 -0500 |
---|---|---|
committer | Bjorn Helgaas <bhelgaas@google.com> | 2017-01-11 16:01:11 -0500 |
commit | caf3f562e1161a86bd48a4c4c33af89d3693c658 (patch) | |
tree | 5275d1ff3fd85fc45763e76a95efe4338661a4c8 | |
parent | 7ce7d89f48834cefece7804d38fc5d85382edf77 (diff) |
PCI: imx6: Remove redundant "Link never came up" message
When a PCI card is not connected, the following messages are seen on mx6:
imx6q-pcie 1ffc000.pcie: phy link never came up
imx6q-pcie 1ffc000.pcie: Link never came up
The first one comes from the pcie-designware.c core file, so remove
the redundant one from the imx6 driver.
Signed-off-by: Fabio Estevam <fabio.estevam@nxp.com>
Signed-off-by: Bjorn Helgaas <bhelgaas@google.com>
Reviewed-by: Lucas Stach <l.stach@pengutronix.de>
-rw-r--r-- | drivers/pci/host/pci-imx6.c | 4 |
1 files changed, 1 insertions, 3 deletions
diff --git a/drivers/pci/host/pci-imx6.c b/drivers/pci/host/pci-imx6.c index c8cefb078218..66c3b84a84d7 100644 --- a/drivers/pci/host/pci-imx6.c +++ b/drivers/pci/host/pci-imx6.c | |||
@@ -502,10 +502,8 @@ static int imx6_pcie_establish_link(struct imx6_pcie *imx6_pcie) | |||
502 | IMX6Q_GPR12_PCIE_CTL_2, 1 << 10); | 502 | IMX6Q_GPR12_PCIE_CTL_2, 1 << 10); |
503 | 503 | ||
504 | ret = imx6_pcie_wait_for_link(imx6_pcie); | 504 | ret = imx6_pcie_wait_for_link(imx6_pcie); |
505 | if (ret) { | 505 | if (ret) |
506 | dev_info(dev, "Link never came up\n"); | ||
507 | goto err_reset_phy; | 506 | goto err_reset_phy; |
508 | } | ||
509 | 507 | ||
510 | if (imx6_pcie->link_gen == 2) { | 508 | if (imx6_pcie->link_gen == 2) { |
511 | /* Allow Gen2 mode after the link is up. */ | 509 | /* Allow Gen2 mode after the link is up. */ |