summaryrefslogtreecommitdiff
path: root/drivers/irqchip/spear-shirq.c
diff options
context:
space:
mode:
authorJohn Paul Adrian Glaubitz <glaubitz@physik.fu-berlin.de>2023-05-10 19:33:42 +0300
committerMarc Zyngier <maz@kernel.org>2023-06-17 09:54:48 +0300
commit4848229494a323eeaab62eee5574ef9f7de80374 (patch)
treeb8062085ece88d8b61af78e8d9d0c0a3f89b0df8 /drivers/irqchip/spear-shirq.c
parent48f31e496488a25f443c0df52464da446fb1d10c (diff)
downloadlinux-4848229494a323eeaab62eee5574ef9f7de80374.tar.xz
irqchip/jcore-aic: Fix missing allocation of IRQ descriptors
The initialization function for the J-Core AIC aic_irq_of_init() is currently missing the call to irq_alloc_descs() which allocates and initializes all the IRQ descriptors. Add missing function call and return the error code from irq_alloc_descs() in case the allocation fails. Fixes: 981b58f66cfc ("irqchip/jcore-aic: Add J-Core AIC driver") Signed-off-by: John Paul Adrian Glaubitz <glaubitz@physik.fu-berlin.de> Tested-by: Rob Landley <rob@landley.net> Signed-off-by: Marc Zyngier <maz@kernel.org> Link: https://lore.kernel.org/r/20230510163343.43090-1-glaubitz@physik.fu-berlin.de
Diffstat (limited to 'drivers/irqchip/spear-shirq.c')
0 files changed, 0 insertions, 0 deletions