ARM: S3C64XX: Ensure VIC based IRQs can be resumed from
authorBen Dooks <ben-linux@fluff.org>
Wed, 1 Jun 2011 09:44:51 +0000 (10:44 +0100)
committerKukjin Kim <kgene.kim@samsung.com>
Wed, 20 Jul 2011 14:12:22 +0000 (23:12 +0900)
commitc17afc0aa69615b4c2250b6476431c4d601890a0
tree504bc7090344121647b5ff21d1b7a0cf77b3a0f3
parent620917de59eeb934b9f8cf35cc2d95c1ac8ed0fc
ARM: S3C64XX: Ensure VIC based IRQs can be resumed from

Any interrupts based off either of the onboard VICs cannot be resumed
from any more as it seems set_irq_wake() is now checking the error code
returned from the low level handlers and not setting the wake-state on
the interrupt if this fails.

Ensure that we make the interrupts we can resume from available on the
VIC and then do a pre-sleep mask of all the VIC interrupts as the wakeup
is handled by a seperate block.

Signed-off-by: Ben Dooks <ben-linux@fluff.org>
Signed-off-by: Mark Brown <broonie@opensource.wolfsonmicro.com>
Signed-off-by: Kukjin Kim <kgene.kim@samsung.com>
arch/arm/mach-s3c64xx/include/mach/pm-core.h
arch/arm/mach-s3c64xx/irq.c