arm: a37xx: pci: Fix pcie_advk_link_up()
authorPali Rohár <pali@kernel.org>
Sat, 25 Sep 2021 22:54:41 +0000 (00:54 +0200)
committerStefan Roese <sr@denx.de>
Fri, 8 Oct 2021 06:33:52 +0000 (08:33 +0200)
commit6b2771cb19623f7028085e47a52e30813130f61e
tree20b815138986e5ca53585714c94898ae5348bd31
parentde7293043329c6d230b7f81861867c6a645f4dc7
arm: a37xx: pci: Fix pcie_advk_link_up()

Aardvark reports Disabled and Hot Reset LTSSM states as values >= 0x20.
Link is not up in these states, so fix pcie_advk_link_up() function.

Signed-off-by: Pali Rohár <pali@kernel.org>
Reviewed-by: Marek Behún <marek.behun@nic.cz>
Reviewed-by: Stefan Roese <sr@denx.de>
drivers/pci/pci-aardvark.c