diff options
| author | Bjorn Helgaas <bhelgaas@google.com> | 2026-09-30 17:18:12 -0500 |
|---|---|---|
| committer | Bjorn Helgaas <bhelgaas@google.com> | 2026-09-30 17:18:12 -0500 |
| commit | 743acb81494cda6cd47623c7c6a853cd9413f2bc (patch) | |
| tree | 6493dcf4b0067d85aa4620c019241cf8076ba5f9 /drivers | |
| parent | a1eb0b2a54bdeec7fd63841fbfbc32031ccc3e5d (diff) | |
| parent | 52cbf88730b743745404b3fa5a3fc8b480768276 (diff) | |
| download | linux-next-743acb81494cda6cd47623c7c6a853cd9413f2bc.tar.gz linux-next-743acb81494cda6cd47623c7c6a853cd9413f2bc.zip | |
Merge branch 'pci/controller/mediatek'
- Find INTx DT property by 'interrupt-controller' name instead of assuming
it's the first child node (Zhengping Zhang)
* pci/controller/mediatek:
PCI: mediatek: Find INTx controller by property
Diffstat (limited to 'drivers')
| -rw-r--r-- | drivers/pci/controller/pcie-mediatek.c | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/drivers/pci/controller/pcie-mediatek.c b/drivers/pci/controller/pcie-mediatek.c index a60d1ae076f8..3a3e91cd0c21 100644 --- a/drivers/pci/controller/pcie-mediatek.c +++ b/drivers/pci/controller/pcie-mediatek.c @@ -583,9 +583,9 @@ static int mtk_pcie_init_irq_domain(struct mtk_pcie_port *port, int ret; /* Setup INTx */ - pcie_intc_node = of_get_next_child(node, NULL); + pcie_intc_node = of_get_child_by_name(node, "interrupt-controller"); if (!pcie_intc_node) { - dev_err(dev, "no PCIe Intc node found\n"); + dev_err(dev, "no PCIe INTx interrupt-controller node found\n"); return -ENODEV; } |
