irqchip: orion: clear bridge cause register on init
authorSebastian Hesselbarth <sebastian.hesselbarth@gmail.com>
Thu, 23 Jan 2014 22:38:04 +0000 (23:38 +0100)
committerJason Cooper <jason@lakedaemon.net>
Thu, 6 Feb 2014 18:03:08 +0000 (18:03 +0000)
commit7b119fd1bdc59a8060df5b659b9f7a70e0169fd6
tree67a60f34b3439dd74d7499bdd28c7630a5d13910
parent38dbfb59d1175ef458d006556061adeaa8751b72
irqchip: orion: clear bridge cause register on init

It is good practice to mask and clear pending irqs on init. We already
mask all irqs, so also clear the bridge irq cause register.

Signed-off-by: Sebastian Hesselbarth <sebastian.hesselbarth@gmail.com>
Tested-by: Ezequiel Garcia <ezequiel.garcia@free-electrons.com>
Cc: <stable@vger.kernel.org> # v3.10+
Signed-off-by: Jason Cooper <jason@lakedaemon.net>
drivers/irqchip/irq-orion.c