pci: layerscape: fix a dead loop issue
authorHou Zhiqiang <Zhiqiang.Hou@nxp.com>
Mon, 26 Oct 2020 03:57:42 +0000 (11:57 +0800)
committerPriyanka Jain <priyanka.jain@nxp.com>
Thu, 10 Dec 2020 08:26:39 +0000 (13:56 +0530)
commitee7c1225e3d8b3871833f4cbd80e122cb5fa52d2
tree928ae605680464339f2af1e90c39af12e07440aa
parent8114791aeb220b81e706fef60ea899d3ea1f086b
pci: layerscape: fix a dead loop issue

Fixes: commit 8ec619f8fd84 ("pci: layerscape: Fixup PCIe EP
mode DT nodes for LX2160A rev2")

This added the PCIe EP nodes fixup of LX2160A, but it
didn't update the condition value when there isn't a
property 'apio-wins'.

Signed-off-by: Hou Zhiqiang <Zhiqiang.Hou@nxp.com>
[Fixed checkpatch error]
Signed-off-by: Priyanka Jain <priyanka.jain@nxp.com>
drivers/pci/pcie_layerscape_fixup_common.c