From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1752546AbbJZAZQ (ORCPT ); Sun, 25 Oct 2015 20:25:16 -0400 Received: from terminus.zytor.com ([198.137.202.10]:50705 "EHLO terminus.zytor.com" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1752449AbbJZAZO (ORCPT ); Sun, 25 Oct 2015 20:25:14 -0400 Date: Sun, 25 Oct 2015 17:24:54 -0700 From: tip-bot for Lucas Stach Message-ID: Cc: gnurou@gmail.com, thierry.reding@gmail.com, dev@lynxeye.de, jason@lakedaemon.net, linux-kernel@vger.kernel.org, mingo@kernel.org, hpa@zytor.com, swarren@wwwdotorg.org, tglx@linutronix.de, marc.zyngier@arm.com Reply-To: swarren@wwwdotorg.org, mingo@kernel.org, hpa@zytor.com, linux-kernel@vger.kernel.org, marc.zyngier@arm.com, tglx@linutronix.de, thierry.reding@gmail.com, gnurou@gmail.com, jason@lakedaemon.net, dev@lynxeye.de In-Reply-To: <1445787552-13062-1-git-send-email-dev@lynxeye.de> References: <1445787552-13062-1-git-send-email-dev@lynxeye.de> To: linux-tip-commits@vger.kernel.org Subject: [tip:irq/urgent] irqchip/tegra: Propagate IRQ type setting to parent Git-Commit-ID: 209da39154837ec1b69fb34f438041939911e4b4 X-Mailer: tip-git-log-daemon Robot-ID: Robot-Unsubscribe: Contact to get blacklisted from these emails MIME-Version: 1.0 Content-Transfer-Encoding: 8bit Content-Type: text/plain; charset=UTF-8 Content-Disposition: inline Sender: linux-kernel-owner@vger.kernel.org List-ID: X-Mailing-List: linux-kernel@vger.kernel.org Commit-ID: 209da39154837ec1b69fb34f438041939911e4b4 Gitweb: http://git.kernel.org/tip/209da39154837ec1b69fb34f438041939911e4b4 Author: Lucas Stach AuthorDate: Sun, 25 Oct 2015 16:39:12 +0100 Committer: Thomas Gleixner 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" Signed-off-by: Lucas Stach Cc: Stephen Warren Cc: Thierry Reding Cc: Alexandre Courbot Cc: Jason Cooper Cc: Marc Zyngier Cc: # 4.1 Link: http://lkml.kernel.org/r/1445787552-13062-1-git-send-email-dev@lynxeye.de Signed-off-by: Thomas Gleixner --- 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,