From: Sebastian Hesselbarth Date: Thu, 23 Jan 2014 23:10:32 +0000 (+0100) Subject: irqchip: orion: clear stale interrupts in irq_startup X-Git-Tag: v3.14-rc4~5^2^2~1 X-Git-Url: http://git.openpandora.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=e0318ec3bf3f1502cd11b21b1eb00aa355b40b67;p=pandora-kernel.git irqchip: orion: clear stale interrupts in irq_startup Bridge IRQ_CAUSE bits are asserted regardless of the corresponding bit in IRQ_MASK register. To avoid interrupt events on stale irqs, we have to clear them before unmask. This installs an .irq_startup callback to ensure stale irqs are cleared before initial unmask. Signed-off-by: Sebastian Hesselbarth Tested-by: Ezequiel Garcia Cc: : f56c0738b5c2: "irqchip: orion: clear bridge cause register on init" Cc: : 38bd80b84fca: "irqchip: orion: use handle_edge_irq on bridge irqs" Cc: # v3.10+ Signed-off-by: Jason Cooper --- Reading git-diff-tree failed