]> git.baikalelectronics.ru Git - kernel.git/commit
PCI: altera: Poll for link up status after retraining the link
authorLey Foon Tan <lftan@altera.com>
Tue, 21 Jun 2016 08:53:13 +0000 (16:53 +0800)
committerBjorn Helgaas <bhelgaas@google.com>
Fri, 22 Jul 2016 21:02:57 +0000 (16:02 -0500)
commitd175712f68aa408b05134d0ea9f83f775eadcaf3
tree43e091a7819c1c7fccdefdc9aed21787697a21b4
parentfdb7a8a4bf16097db323372882d2f2629108b740
PCI: altera: Poll for link up status after retraining the link

Some PCIe devices take a long time to reach link up state after retrain.
Poll for link up status after retraining the link.  This is to make sure
the link is up before we access configuration space.

[bhelgaas: changelog]
Signed-off-by: Ley Foon Tan <lftan@altera.com>
Signed-off-by: Bjorn Helgaas <bhelgaas@google.com>
drivers/pci/host/pcie-altera.c