Skip to content
Open
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
5 changes: 4 additions & 1 deletion drivers/pci/controller/dwc/pcie-qcom.c
Original file line number Diff line number Diff line change
Expand Up @@ -2211,7 +2211,7 @@ static bool qcom_pcie_is_child_node(struct device *dev,
return false;
}

/* Parse PERST# from all nodes in depth first manner starting from @np */
/* Collect PERST# GPIOs from PCI bridge nodes depth-first, starting at @np */
static int qcom_pcie_parse_perst(struct qcom_pcie *pcie,
struct qcom_pcie_port *port,
struct device_node *np)
Expand Down Expand Up @@ -2269,6 +2269,9 @@ static int qcom_pcie_parse_perst(struct qcom_pcie *pcie,

parse_child_node:
for_each_available_child_of_node_scoped(np, child) {
if (!of_node_is_type(child, "pci"))
continue;

ret = qcom_pcie_parse_perst(pcie, port, child);
if (ret)
return ret;
Expand Down
Loading