mfd: ab8500-core: Ignore masked out interrupts
authorFabio Baltieri <fabio.baltieri@linaro.org>
Thu, 21 Mar 2013 13:49:44 +0000 (14:49 +0100)
committerSamuel Ortiz <sameo@linux.intel.com>
Tue, 9 Apr 2013 08:19:45 +0000 (10:19 +0200)
commit7a93fb375437225ee89a15652a887547450f3d2a
treeca68b026ad33434fdac487bcfa0c1ad59f435904
parentd95c785500f60c59e4257385af2cfee7d4044809
mfd: ab8500-core: Ignore masked out interrupts

AB8500 asserts LATCH bits for masked out interrupts.  This patch
explicitly masks those out using the cached mask value to prevent
handle_nested_irq() being called for masked IRQ on the same register as
unmasked ones.

Acked-by: Linus Walleij <linus.walleij@linaro.org>
Signed-off-by: Fabio Baltieri <fabio.baltieri@linaro.org>
Signed-off-by: Samuel Ortiz <sameo@linux.intel.com>
drivers/mfd/ab8500-core.c