irqchip: orion: clear stale interrupts in irq_startup
commit e0318ec3 upstream. 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> Signed-off-by:
Jason Cooper <jason@lakedaemon.net> Signed-off-by:
Jiri Slaby <jslaby@suse.cz>
Showing
Please register or sign in to comment