From: Hans de Goede Date: Thu, 27 Mar 2014 17:02:39 +0000 (+0100) Subject: irqchip: sun7i/sun6i: Disable NMI before registering the handler X-Git-Tag: v3.15-rc1~152^2 X-Git-Url: http://git.openpandora.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=1b422ecd27866985b9f35d0d2b5ae6e9122dd4c0;p=pandora-kernel.git irqchip: sun7i/sun6i: Disable NMI before registering the handler It is advisable to disable the NMI before registering the IRQ handler as registering the IRQ handler unmasks the IRQ on the GIC, so if U-Boot has left the NMI enabled and the NMI pin is active we will immediately get an interrupt before any driver has claimed the downstream interrupt of the NMI. Signed-off-by: Hans de Goede Signed-off-by: Carlo Caione Cc: maxime.ripard@free-electrons.com Cc: linux-arm-kernel@lists.infradead.org Cc: linux-sunxi@googlegroups.com Link: http://lkml.kernel.org/r/1395939759-11135-3-git-send-email-carlo@caione.org Signed-off-by: Thomas Gleixner --- Reading git-diff-tree failed