aboutsummaryrefslogtreecommitdiffstatshomepage
path: root/kernel
diff options
context:
space:
mode:
authorMarc Zyngier <maz@kernel.org>2022-07-10 09:48:26 +0100
committerMarc Zyngier <maz@kernel.org>2022-07-10 09:48:26 +0100
commit828f5602978c3828c2d8a5f0c81b33e4b270f670 (patch)
tree297ea62a48ee3127fe7ce60ae3983af347e225f9 /kernel
parentMerge branch irq/plic-edge-fixes into irq/irqchip-next (diff)
parentirqchip/stm32-exti: Simplify irq description table (diff)
downloadwireguard-linux-828f5602978c3828c2d8a5f0c81b33e4b270f670.tar.xz
wireguard-linux-828f5602978c3828c2d8a5f0c81b33e4b270f670.zip
Merge branch irq/stm32-exti-updates into irq/irqchip-next
* irq/stm32-exti-updates: : . : stm32-exti updates courtesy of Antonio Borneo: : : "This series address some code fix for irq-stm32-exti driver and : simplifies the table that remaps the interrupts from exti to gic." : : Also comes with an additional change to irq_chip_request_resources_parent(), : making it possible to omit the callback in hierarchies. : . irqchip/stm32-exti: Simplify irq description table irqchip/stm32-exti: Read event trigger type from event_trg register irqchip/stm32-exti: Tag emr register as undefined for stm32mp15 irqchip/stm32-exti: Prevent illegal read due to unbounded DT value irqchip/stm32-exti: Fix irq_mask/irq_unmask for direct events irqchip/stm32-exti: Fix irq_set_affinity return value genirq: Don't return error on missing optional irq_request_resources() Signed-off-by: Marc Zyngier <maz@kernel.org>
Diffstat (limited to 'kernel')
-rw-r--r--kernel/irq/chip.c3
1 files changed, 2 insertions, 1 deletions
diff --git a/kernel/irq/chip.c b/kernel/irq/chip.c
index 886789dcee43..c19040530789 100644
--- a/kernel/irq/chip.c
+++ b/kernel/irq/chip.c
@@ -1516,7 +1516,8 @@ int irq_chip_request_resources_parent(struct irq_data *data)
if (data->chip->irq_request_resources)
return data->chip->irq_request_resources(data);
- return -ENOSYS;
+ /* no error on missing optional irq_chip::irq_request_resources */
+ return 0;
}
EXPORT_SYMBOL_GPL(irq_chip_request_resources_parent);