PCI: imx6: Move PHY reset into imx6_pcie_establish_link()
authorLucas Stach <l.stach@pengutronix.de>
Mon, 25 Jan 2016 22:49:53 +0000 (16:49 -0600)
committerBjorn Helgaas <bhelgaas@google.com>
Mon, 25 Jan 2016 22:49:53 +0000 (16:49 -0600)
commit54a47a83421a3b7ee0e0fab7f65d04179bdf59b6
tree884b8e28799fa41bb30ad25e0e62ae84070ae1a4
parent53eeb48b49410a47a0309bbc0516534ad71c1350
PCI: imx6: Move PHY reset into imx6_pcie_establish_link()

This adds the PHY reset into a common error path of
imx6_pcie_establish_link(), deduplicating some of the debug prints.  Also
reduce the severity of the "no-link" message in the one place where it is
expected to be hit when no peripheral is attached.

Signed-off-by: Lucas Stach <l.stach@pengutronix.de>
Signed-off-by: Bjorn Helgaas <bhelgaas@google.com>
drivers/pci/host/pci-imx6.c