diff options
author | Sebastian Hesselbarth <sebastian.hesselbarth@gmail.com> | 2014-01-24 00:10:32 +0100 |
---|---|---|
committer | Jason Cooper <jason@lakedaemon.net> | 2014-02-06 19:03:32 +0100 |
commit | e0318ec3bf3f1502cd11b21b1eb00aa355b40b67 (patch) | |
tree | 8b2564dd13d7862ee0f11839a66c8c76eaddc208 /drivers/message | |
parent | irqchip: orion: use handle_edge_irq on bridge irqs (diff) | |
download | linux-e0318ec3bf3f1502cd11b21b1eb00aa355b40b67.tar.xz linux-e0318ec3bf3f1502cd11b21b1eb00aa355b40b67.zip |
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 <sebastian.hesselbarth@gmail.com>
Tested-by: Ezequiel Garcia <ezequiel.garcia@free-electrons.com>
Cc: <stable@vger.kernel.org>: f56c0738b5c2: "irqchip: orion: clear bridge cause register on init"
Cc: <stable@vger.kernel.org>: 38bd80b84fca: "irqchip: orion: use handle_edge_irq on bridge irqs"
Cc: <stable@vger.kernel.org> # v3.10+
Signed-off-by: Jason Cooper <jason@lakedaemon.net>
Diffstat (limited to 'drivers/message')
0 files changed, 0 insertions, 0 deletions