irqchip/atmel-aic5: Use per chip mask caches in mask/unmask()
irqchip/atmel-aic5: Use per chip mask caches in mask/unmask()

When masking/unmasking interrupts, mask_cache is updated and used later
for suspend/resume. Unfortunately, it always was the mask_cache
associated with the first irq chip which was updated. So when performing
resume, only irqs 0-31 could be enabled.

Fixes: b1479ebb7720 ("irqchip: atmel-aic: Add atmel AIC/AIC5 drivers")
Signed-off-by: Ludovic Desroches <627575320a9526cb6c91021c9940202b0e84c416@atmel.com>
Cc: <e642b69ed2fc111e09ffdc37feb733a52253340d@oracle.com>
Cc: <f99ef57ccac738b558d0fc2e44478b3c5def9522@lists.infradead.org>
Cc: <45b517be0e5ec6dc3a39715767c1d18e090d39b4@atmel.com>
Cc: <a7228e626ecf0022ac91fc1cd8db88e71d0e5e0e@free-electrons.com>
Cc: <4e91513d4f418754031d3d36b3fc73980c40a38c@free-electrons.com>
Cc: <002efc4a7eb15462d47ee2d2d84192cf993d5994@atmel.com>
Cc: <68c46a606457643eab92053c1c05574abb26f861@lakedaemon.net>
Cc: <a16cc0c82647c52d401177f8e50567df5499e36c@arm.com>
Cc: 4fbacc2fa0ffdbb11bf1ad6925b886ebd08dd15f@vger.kernel.org #3.18
Link: http://lkml.kernel.org/r/1442843173-2390-1-git-send-email-627575320a9526cb6c91021c9940202b0e84c416@atmel.com
Signed-off-by: Thomas Gleixner <00e4cf8f46a57000a44449bf9dd8cbbcc209fd2a@linutronix.de>

KristFoundation/Programs,KristFoundation/Programs,KristFoundation/Programs,KristFoundation/Programs,KristFoundation/Programs,KristFoundation/Programs