]> git.baikalelectronics.ru Git - kernel.git/commit
PCI: keystone: Do not initiate link training multiple times
authorKishon Vijay Abraham I <kishon@ti.com>
Wed, 17 Oct 2018 07:40:57 +0000 (13:10 +0530)
committerLorenzo Pieralisi <lorenzo.pieralisi@arm.com>
Wed, 17 Oct 2018 08:40:56 +0000 (09:40 +0100)
commit33400180e6227ffff98d3d440b727d1012c81ad4
treef3b8639f05b4352a032bbc0f9cf784c94186105c
parent8fd40bb2878f934764eeca8c460549855a414edc
PCI: keystone: Do not initiate link training multiple times

commit f58d2c5915ed8df19a114a0af4 ("PCI: designware: Add generic
dw_pcie_wait_for_link()") while adding a generic dw_pcie_wait_for_link()
performed a special handling (initiate link training multiple times) for
keystone which is not required. This also resulted in unncessarily waiting
for more time to establish the link even when no PCI device is connected.

Remove it and make it look similar to other dwc based PCIe drivers.

Signed-off-by: Kishon Vijay Abraham I <kishon@ti.com>
Signed-off-by: Lorenzo Pieralisi <lorenzo.pieralisi@arm.com>
drivers/pci/controller/dwc/pci-keystone.c