All of lore.kernel.org
 help / color / mirror / Atom feed
* [PATCH] pci: layerscape: fix a dead loop issue
@ 2020-10-26  3:57 Zhiqiang Hou
  2020-12-11  8:11 ` Priyanka Jain
  0 siblings, 1 reply; 2+ messages in thread
From: Zhiqiang Hou @ 2020-10-26  3:57 UTC (permalink / raw)
  To: u-boot

From: Hou Zhiqiang <Zhiqiang.Hou@nxp.com>

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

Fixes: 8ec619f8fd84 ("pci: layerscape: Fixup PCIe EP mode DT nodes for LX2160A rev2")
Signed-off-by: Hou Zhiqiang <Zhiqiang.Hou@nxp.com>
---
 drivers/pci/pcie_layerscape_fixup_common.c | 2 ++
 1 file changed, 2 insertions(+)

diff --git a/drivers/pci/pcie_layerscape_fixup_common.c b/drivers/pci/pcie_layerscape_fixup_common.c
index 0a42997696..b97c67ad84 100644
--- a/drivers/pci/pcie_layerscape_fixup_common.c
+++ b/drivers/pci/pcie_layerscape_fixup_common.c
@@ -99,6 +99,8 @@ int lx2_board_fix_fdt(void *fdt)
 		if (!prop) {
 			printf("%s: Failed to fixup PCIe EP node @0x%x\n",
 			       __func__, off);
+			off = fdt_node_offset_by_compatible(fdt, off,
+							    "fsl,lx2160a-pcie-ep");
 			continue;
 		}
 
-- 
2.17.1

^ permalink raw reply related	[flat|nested] 2+ messages in thread

* [PATCH] pci: layerscape: fix a dead loop issue
  2020-10-26  3:57 [PATCH] pci: layerscape: fix a dead loop issue Zhiqiang Hou
@ 2020-12-11  8:11 ` Priyanka Jain
  0 siblings, 0 replies; 2+ messages in thread
From: Priyanka Jain @ 2020-12-11  8:11 UTC (permalink / raw)
  To: u-boot

>-----Original Message-----
>From: Z.q. Hou <zhiqiang.hou@nxp.com>
>Sent: Monday, October 26, 2020 9:28 AM
>To: u-boot at lists.denx.de; Priyanka Jain <priyanka.jain@nxp.com>
>Cc: Wasim Khan <wasim.khan@nxp.com>; Z.q. Hou <zhiqiang.hou@nxp.com>
>Subject: [PATCH] pci: layerscape: fix a dead loop issue
>
>From: Hou Zhiqiang <Zhiqiang.Hou@nxp.com>
>
>The commit 8ec619f8fd84 added the PCIe EP nodes fixup of LX2160A, but it
>didn't update the condition value when there isn't a property 'apio-wins'.
>
>Fixes: 8ec619f8fd84 ("pci: layerscape: Fixup PCIe EP mode DT nodes for
>LX2160A rev2")
>Signed-off-by: Hou Zhiqiang <Zhiqiang.Hou@nxp.com>
>---
<snip>
Applied to fsl-qoriq after fixing checkpatch errors/warnings.
Please run checkpatch test and fix warnings/errors before submitting the patch next time.
Awaiting upstream.

Thanks
Priyanka

^ permalink raw reply	[flat|nested] 2+ messages in thread

end of thread, other threads:[~2020-12-11  8:11 UTC | newest]

Thread overview: 2+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2020-10-26  3:57 [PATCH] pci: layerscape: fix a dead loop issue Zhiqiang Hou
2020-12-11  8:11 ` Priyanka Jain

This is an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.