]> git.ipfire.org Git - thirdparty/kernel/stable.git/commit
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)
committerGreg Kroah-Hartman <gregkh@linuxfoundation.org>
Fri, 7 Mar 2014 06:06:27 +0000 (22:06 -0800)
commit31b61124fcfbe3af0667ae4dd6f25508ab9829e9
tree175d7548211af9d40d7af1d786240382157d0f59
parent84d6269121d2b7036ff815869cd288fbe22a9082
irqchip: orion: clear bridge cause register on init

commit 7b119fd1bdc59a8060df5b659b9f7a70e0169fd6 upstream.

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>
Signed-off-by: Jason Cooper <jason@lakedaemon.net>
Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
drivers/irqchip/irq-orion.c