From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1752035AbbJYPrG (ORCPT ); Sun, 25 Oct 2015 11:47:06 -0400 Received: from ns.lynxeye.de ([87.118.118.114]:49307 "EHLO lynxeye.de" rhost-flags-OK-OK-OK-FAIL) by vger.kernel.org with ESMTP id S1751427AbbJYPrD (ORCPT ); Sun, 25 Oct 2015 11:47:03 -0400 From: Lucas Stach To: Thomas Gleixner , Jason Cooper , Marc Zyngier Cc: Stephen Warren , Thierry Reding , Alexandre Courbot , linux-kernel@vger.kernel.org, linux-tegra@vger.kernel.org Subject: [PATCH] irqchip: tegra: propagate IRQ type setting to parent Date: Sun, 25 Oct 2015 16:39:12 +0100 Message-Id: <1445787552-13062-1-git-send-email-dev@lynxeye.de> X-Mailer: git-send-email 2.4.3 Sender: linux-kernel-owner@vger.kernel.org List-ID: X-Mailing-List: linux-kernel@vger.kernel.org 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. Cc: # 4.1 Signed-off-by: Lucas Stach --- drivers/irqchip/irq-tegra.c | 1 + 1 file changed, 1 insertion(+) diff --git a/drivers/irqchip/irq-tegra.c b/drivers/irqchip/irq-tegra.c index 2fd89eb..fd88e68 100644 --- a/drivers/irqchip/irq-tegra.c +++ b/drivers/irqchip/irq-tegra.c @@ -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, -- 2.4.3