From: Sudeep Holla Date: Fri, 5 Jun 2015 10:59:57 +0000 (+0100) Subject: irqchip: gic: Simplify gic_configure_irq by using IRQCHIP_SET_TYPE_MASKED X-Git-Tag: omap-for-v4.3/legacy-v2-signed~196^2~12 X-Git-Url: http://git.openpandora.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=55963c9f20d03124eefb4c365e1ca1f485fc3974;p=pandora-kernel.git irqchip: gic: Simplify gic_configure_irq by using IRQCHIP_SET_TYPE_MASKED GIC requires to disable the interrupt before changing the trigger type. irqchip core provides IRQCHIP_SET_TYPE_MASKED flag and ensures that the interrupt is masked before calling chip.irq_set_type() if the irqchip sets the flag. This patch adds IRQCHIP_SET_TYPE_MASKED to GIC irqchip so that the core can manage disabling the interrupt while changing the trigger type. Signed-off-by: Sudeep Holla Reviewed-by: Marc Zyngier Cc: Jason Cooper Link: http://lkml.kernel.org/r/1433501997-19205-1-git-send-email-sudeep.holla@arm.com Signed-off-by: Thomas Gleixner --- Reading git-diff-tree failed