Skip to contentSkip to conversation

irqchip: tegra: propagate IRQ type setting to parent

PATCH New Lucas Stach 2 participants 2 messages Oct 25, 2015 – Oct 26, 2015

Subsystems (2)
lore
Share & tools
lore
#0 lore raw

PATCH 1/1 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.

---
 drivers/irqchip/irq-tegra.c | 1 +
 1 file changed, 1 insertion(+)
drivers/irqchip/irq-tegra.c +1 -0
index 2fd89eb..fd88e68 100644
@@ -214,6 +214,7 @@ static struct irq_chip tegra_ictlr_chip = {
 	.irq_unmask		= tegra_unmask,
 	.irq_retrigger		= tegra_retrigger,
 	.irq_set_wake		= tegra_set_wake,
+	.irq_set_type		= irq_chip_set_type_parent,
 	.flags			= IRQCHIP_MASK_ON_SUSPEND,
 #ifdef CONFIG_SMP
 	.irq_set_affinity	= irq_chip_set_affinity_parent,
Signature · 1 line
2.4.3
#1 lore raw

[tip:irq/urgent] irqchip/tegra: Propagate IRQ type setting to parent

irqchip/tegra: Propagate IRQ type setting to parent
Commit-ID:  209da39154837ec1b69fb34f438041939911e4b4
Gitweb:     http://git.kernel.org/tip/209da39154837ec1b69fb34f438041939911e4b4
Author:     Lucas Stach <[email protected]>
AuthorDate: Sun, 25 Oct 2015 16:39:12 +0100
Committer:  Thomas Gleixner <[email protected]>
CommitDate: Mon, 26 Oct 2015 09:20:59 +0900

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 1eec582158e2 "irqchip: tegra: Add Tegra210 support"
Cc Stephen Warren <[email protected]>
Cc Thierry Reding <[email protected]>
Cc Alexandre Courbot <[email protected]>
Cc Jason Cooper <[email protected]>
Cc Marc Zyngier <[email protected]>
---
 drivers/irqchip/irq-tegra.c | 1 +
 1 file changed, 1 insertion(+)
drivers/irqchip/irq-tegra.c +1 -0
index 2fd89eb..fd88e68 100644
@@ -214,6 +214,7 @@ static struct irq_chip tegra_ictlr_chip = {
 	.irq_unmask		= tegra_unmask,
 	.irq_retrigger		= tegra_retrigger,
 	.irq_set_wake		= tegra_set_wake,
+	.irq_set_type		= irq_chip_set_type_parent,
 	.flags			= IRQCHIP_MASK_ON_SUSPEND,
 #ifdef CONFIG_SMP
 	.irq_set_affinity	= irq_chip_set_affinity_parent,