]> git.kernelconcepts.de Git - karo-tx-linux.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)
commit3a928e98a833e1a470a60d2fedf3c55502185fb7
tree43e091a7819c1c7fccdefdc9aed21787697a21b4
parentc622032ebc538cb3869c312ae3ad235a99da84b6
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