irqchip fixes for Linux 5.9, take #1
- Fix an embarassing typo in the new module helpers, leading
to the probe failing most of the time
- The promised TI firmware rework that couldn't make it into
the merge window due to a very badly managed set of dependency
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 <firstname.lastname@example.org>
Tested-by: John Stultz <email@example.com>
Signed-off-by: Marc Zyngier <firstname.lastname@example.org>
1 file changed