Skip to content

Commit 209da39

Browse files
lynxeye-devKAGA-KOKO
authored andcommitted
irqchip/tegra: Propagate IRQ type setting to parent
The LIC doesn't deal with the different types of interrupts itself but needs to forward calls to set the appropriate type to its parent IRQ controller. Without this fix all IRQs routed through the LIC will stay at the initial EDGE type, while most of them should actually be level triggered. Fixes: 1eec582 "irqchip: tegra: Add Tegra210 support" Signed-off-by: Lucas Stach <dev@lynxeye.de> Cc: Stephen Warren <swarren@wwwdotorg.org> Cc: Thierry Reding <thierry.reding@gmail.com> Cc: Alexandre Courbot <gnurou@gmail.com> Cc: Jason Cooper <jason@lakedaemon.net> Cc: Marc Zyngier <marc.zyngier@arm.com> Cc: <stable@vger.kernel.org> # 4.1 Link: http://lkml.kernel.org/r/1445787552-13062-1-git-send-email-dev@lynxeye.de Signed-off-by: Thomas Gleixner <tglx@linutronix.de>
1 parent 353d6d6 commit 209da39

File tree

1 file changed

+1
-0
lines changed

1 file changed

+1
-0
lines changed

drivers/irqchip/irq-tegra.c

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -214,6 +214,7 @@ static struct irq_chip tegra_ictlr_chip = {
214214
.irq_unmask = tegra_unmask,
215215
.irq_retrigger = tegra_retrigger,
216216
.irq_set_wake = tegra_set_wake,
217+
.irq_set_type = irq_chip_set_type_parent,
217218
.flags = IRQCHIP_MASK_ON_SUSPEND,
218219
#ifdef CONFIG_SMP
219220
.irq_set_affinity = irq_chip_set_affinity_parent,

0 commit comments

Comments
 (0)