diff options
author | Marc Zyngier <maz@kernel.org> | 2021-04-27 09:00:28 +0100 |
---|---|---|
committer | Marc Zyngier <maz@kernel.org> | 2021-05-10 14:12:25 +0100 |
commit | be1c2bb3ba5a39c20b1d54e01ffbcb2b1ca7e46c (patch) | |
tree | b0188864403a5aa1883d8d4977fd8329aaf89da6 /drivers/irqchip | |
parent | 6efb943b8616ec53a5e444193dccf1af9ad627b5 (diff) |
ARM: PXA: Fix cplds irqdesc allocation when using legacy mode
The Mainstone PXA platform uses CONFIG_SPARSE_IRQ, and thus we
cannot rely on the irq descriptors to be readilly allocated
before creating the irqdomain in legacy mode. The kernel then
complains loudly about not being able to associate the interrupt
in the domain -- can't blame it.
Fix it by allocating the irqdescs upfront in the legacy case.
Fixes: b68761da0111 ("ARM: PXA: Kill use of irq_create_strict_mappings()")
Reported-by: Guenter Roeck <linux@roeck-us.net>
Tested-by: Guenter Roeck <linux@roeck-us.net>
Signed-off-by: Marc Zyngier <maz@kernel.org>
Link: https://lore.kernel.org/r/20210426223942.GA213931@roeck-us.net
Diffstat (limited to 'drivers/irqchip')
0 files changed, 0 insertions, 0 deletions