diff options
| author | 2019-04-14 17:46:23 -0700 | |
|---|---|---|
| committer | 2019-05-01 11:35:47 +0100 | |
| commit | ee6f37175b3f7ae1c3bc147d4779c6043ce25461 (patch) | |
| tree | 10ae8954650d5b684fae43e415392c8198430768 /drivers/pci/controller/dwc/pci-layerscape.c | |
| parent | PCI: imx6: Simplify imx7d_pcie_wait_for_phy_pll_lock() (diff) | |
| download | linux-dev-ee6f37175b3f7ae1c3bc147d4779c6043ce25461.tar.xz linux-dev-ee6f37175b3f7ae1c3bc147d4779c6043ce25461.zip | |
PCI: imx6: Drop imx6_pcie_wait_for_link()
All calls to imx6_pcie_wait_for_link() share the same error path and
the state of PHY debug registers will already be printed there, so
there's no real reason we can't just use dw_pcie_wait_for_link(). Drop
imx6_pcie_wait_for_link() and replace it with dw_pcie_wait_for_link().
Suggested-by: Lucas Stach <l.stach@pengutronix.de>
Signed-off-by: Andrey Smirnov <andrew.smirnov@gmail.com>
Signed-off-by: Lorenzo Pieralisi <lorenzo.pieralisi@arm.com>
Reviewed-by: Lucas Stach <l.stach@pengutronix.de>
Cc: Lorenzo Pieralisi <lorenzo.pieralisi@arm.com>
Cc: Bjorn Helgaas <bhelgaas@google.com>
Cc: Chris Healy <cphealy@gmail.com>
Cc: Lucas Stach <l.stach@pengutronix.de>
Cc: linux-kernel@vger.kernel.org
Cc: linux-pci@vger.kernel.org
Diffstat (limited to 'drivers/pci/controller/dwc/pci-layerscape.c')
0 files changed, 0 insertions, 0 deletions
