summaryrefslogtreecommitdiff
path: root/lib/string_helpers.c
diff options
context:
space:
mode:
authorLey Foon Tan <lftan@altera.com>2016-03-02 12:43:07 +0300
committerBjorn Helgaas <bhelgaas@google.com>2016-03-11 21:14:39 +0300
commiteff31f4002c4e25b9b8c39d0a3a551c6c64c77e8 (patch)
treeed1034d5b9b3dc8bced688ec31df47ecc1af7581 /lib/string_helpers.c
parent92e963f50fc74041b5e9e744c330dca48e04f08d (diff)
downloadlinux-eff31f4002c4e25b9b8c39d0a3a551c6c64c77e8.tar.xz
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 'lib/string_helpers.c')
0 files changed, 0 insertions, 0 deletions