commit | eff31f4002c4e25b9b8c39d0a3a551c6c64c77e8 | [log] [tgz] |
---|---|---|
author | Ley Foon Tan <lftan@altera.com> | Wed Mar 02 17:43:07 2016 +0800 |
committer | Bjorn Helgaas <bhelgaas@google.com> | Fri Mar 11 12:14:39 2016 -0600 |
tree | ed1034d5b9b3dc8bced688ec31df47ecc1af7581 | |
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>