diff options
author | Marc Zyngier <[email protected]> | 2021-11-12 14:10:39 +0000 |
---|---|---|
committer | Marc Zyngier <[email protected]> | 2021-11-12 16:10:00 +0000 |
commit | 10a20b34d735fb4a4af067919b9c0a1c870dac99 (patch) | |
tree | fd32730314fd307b3eaf1573f2b7845e3cd16f46 /drivers/fpga/altera-fpga2sdram.c | |
parent | 69ea463021be0d159ab30f96195fb0dd18ee2272 (diff) |
of/irq: Don't ignore interrupt-controller when interrupt-map failed
Since 041284181226 ("of/irq: Allow matching of an interrupt-map local
to an interrupt controller"), the irq code favors using an interrupt-map
over a interrupt-controller property if both are available, while the
earlier behaviour was to ignore the interrupt-map altogether.
However, we now end-up with the opposite behaviour, which is to
ignore the interrupt-controller property even if the interrupt-map
fails to match its input. This new behaviour breaks the AmigaOne
X1000 machine, which ships with an extremely "creative" (read:
broken) device tree.
Fix this by allowing the interrupt-controller property to be selected
when interrupt-map fails to match anything.
Fixes: 041284181226 ("of/irq: Allow matching of an interrupt-map local to an interrupt controller")
Reported-by: Christian Zigotzky <[email protected]>
Reviewed-by: Rob Herring <[email protected]>
Signed-off-by: Marc Zyngier <[email protected]>
Link: https://lore.kernel.org/r/[email protected]
Link: https://lore.kernel.org/r/[email protected]
Cc: Bjorn Helgaas <[email protected]>
Diffstat (limited to 'drivers/fpga/altera-fpga2sdram.c')
0 files changed, 0 insertions, 0 deletions