PCI: designware: Add default link up check if sub-driver doesn't override
authorJoao Pinto <Joao.Pinto@synopsys.com>
Thu, 10 Mar 2016 20:44:44 +0000 (14:44 -0600)
committerBjorn Helgaas <bhelgaas@google.com>
Tue, 15 Mar 2016 13:50:45 +0000 (08:50 -0500)
commitdac29e6c5460d05774e3e8c4fdf4d6e7bd481fab
tree99427da8c728bd5db6b3ee743042521d1a6a2dd0
parent886bc5ceb5cc3ad4b219502d72b277e3c3255a32
PCI: designware: Add default link up check if sub-driver doesn't override

Add a default DesignWare "link_up" test for use when a sub-driver doesn't
supply its own pcie_host_ops.link_up() method.

[bhelgaas: changelog, split into its own patch]
Signed-off-by: Joao Pinto <jpinto@synopsys.com>
Signed-off-by: Bjorn Helgaas <bhelgaas@google.com>
Acked-by: Pratyush Anand <pratyush.anand@gmail.com>
drivers/pci/host/pcie-designware.c