diff options
author | Ley Foon Tan <lftan@altera.com> | 2016-03-02 17:43:07 +0800 |
---|---|---|
committer | Bjorn Helgaas <bhelgaas@google.com> | 2016-03-11 12:14:39 -0600 |
commit | eff31f4002c4e25b9b8c39d0a3a551c6c64c77e8 (patch) | |
tree | ed1034d5b9b3dc8bced688ec31df47ecc1af7581 /include/linux/pci.h | |
parent | 92e963f50fc74041b5e9e744c330dca48e04f08d (diff) |
PCI: altera: Fix altera_pcie_link_is_up()
Originally altera_pcie_link_is_up() decided the link was up if any of the
low four bits of the LTSSM register were set. But the link is only up if
the LTSSM state is L0, so check for that exact value.
[bhelgaas: changelog]
Signed-off-by: Ley Foon Tan <lftan@altera.com>
Signed-off-by: Bjorn Helgaas <bhelgaas@google.com>
Diffstat (limited to 'include/linux/pci.h')
0 files changed, 0 insertions, 0 deletions