summaryrefslogtreecommitdiffstats
path: root/drivers/irqchip
diff options
context:
space:
mode:
authorLad Prabhakar <prabhakar.mahadev-lad.rj@bp.renesas.com>2023-10-11 20:53:24 +0100
committerThomas Gleixner <tglx@linutronix.de>2023-10-13 12:25:31 +0200
commitf881feb180fd0563809b62faa3f7da234e81d42b (patch)
treee675f5e645cd39410a7c356c25ff358f56e21aa5 /drivers/irqchip
parent021a8ca2ba23c01487a98ad23b68ac062e14cf32 (diff)
downloadlinux-f881feb180fd0563809b62faa3f7da234e81d42b.tar.gz
linux-f881feb180fd0563809b62faa3f7da234e81d42b.tar.bz2
linux-f881feb180fd0563809b62faa3f7da234e81d42b.zip
irqchip/renesas-rzg2l: Enhance driver to support interrupt affinity setting
Add support to set the affinity of the IRQC interrupt by implementing the irq_set_affinity callback via the parent interrupt chip. Signed-off-by: Lad Prabhakar <prabhakar.mahadev-lad.rj@bp.renesas.com> Signed-off-by: Thomas Gleixner <tglx@linutronix.de> Link: https://lore.kernel.org/r/20231011195324.66807-1-prabhakar.mahadev-lad.rj@bp.renesas.com
Diffstat (limited to 'drivers/irqchip')
-rw-r--r--drivers/irqchip/irq-renesas-rzg2l.c1
1 files changed, 1 insertions, 0 deletions
diff --git a/drivers/irqchip/irq-renesas-rzg2l.c b/drivers/irqchip/irq-renesas-rzg2l.c
index 4bbfa2b0a4df..e3029dd70ae1 100644
--- a/drivers/irqchip/irq-renesas-rzg2l.c
+++ b/drivers/irqchip/irq-renesas-rzg2l.c
@@ -247,6 +247,7 @@ static const struct irq_chip irqc_chip = {
.irq_set_irqchip_state = irq_chip_set_parent_state,
.irq_retrigger = irq_chip_retrigger_hierarchy,
.irq_set_type = rzg2l_irqc_set_type,
+ .irq_set_affinity = irq_chip_set_affinity_parent,
.flags = IRQCHIP_MASK_ON_SUSPEND |
IRQCHIP_SET_TYPE_MASKED |
IRQCHIP_SKIP_SET_WAKE,