diff options
author | Marc Zyngier <maz@kernel.org> | 2020-08-06 11:57:45 +0200 |
---|---|---|
committer | Marc Zyngier <maz@kernel.org> | 2020-08-17 09:06:11 +0200 |
commit | 7828a3ef8646fb2e69ed45616c8453a037ca7867 (patch) | |
tree | 689ca538b0be9176bbaa8b290d7ef07215f8f36b /drivers/irqchip/irq-mtk-sysirq.c | |
parent | arm64: dts: k3-am65: Update the RM resource types (diff) | |
download | linux-7828a3ef8646fb2e69ed45616c8453a037ca7867.tar.xz linux-7828a3ef8646fb2e69ed45616c8453a037ca7867.zip |
irqchip: Fix probing deferal when using IRQCHIP_PLATFORM_DRIVER helpers
When probing an interrupt controller that is behind a parent,
we try to check whether the parent domain is available as
an indication that we can actually try to probe.
Unfortunately, we are checking this with the firmware node of
the about to be probed device, not the parent. This is obviously
bound to fail.
Instead, use the parent node.
Fixes: f8410e626569 ("irqchip: Add IRQCHIP_PLATFORM_DRIVER_BEGIN/END and IRQCHIP_MATCH helper macros")
Reported-by: John Stultz <john.stultz@linaro.org>
Tested-by: John Stultz <john.stultz@linaro.org>
Signed-off-by: Marc Zyngier <maz@kernel.org>
Diffstat (limited to 'drivers/irqchip/irq-mtk-sysirq.c')
0 files changed, 0 insertions, 0 deletions