irqchip: bcm7120-l2: Use gc->mask_cache to simplify suspend/resume functions
authorKevin Cernekee <cernekee@gmail.com>
Fri, 7 Nov 2014 06:44:25 +0000 (22:44 -0800)
committerJason Cooper <jason@lakedaemon.net>
Sun, 9 Nov 2014 04:02:59 +0000 (04:02 +0000)
commit05b8ce8260b069b0d59516711e2795758f203556
tree01accad688e24b07f038a2aa388dbe5fe46bd210
parent0b5cb32ca5aea14bfcfda380e5da67b0abf35b4b
irqchip: bcm7120-l2: Use gc->mask_cache to simplify suspend/resume functions

The cached value already incorporates irq_fwd_mask, and was saved the
last time an IRQ was enabled/disabled.

Signed-off-by: Kevin Cernekee <cernekee@gmail.com>
Acked-by: Florian Fainelli <f.fainelli@gmail.com>
Acked-by: Arnd Bergmann <arnd@arndb.de>
Link: https://lkml.kernel.org/r/1415342669-30640-11-git-send-email-cernekee@gmail.com
Signed-off-by: Jason Cooper <jason@lakedaemon.net>
drivers/irqchip/irq-bcm7120-l2.c