From: Mattias Wallin Date: Thu, 2 Dec 2010 14:10:27 +0000 (+0100) Subject: mfd: ab8500-core wake up from suspend X-Git-Tag: 2.1b_release~5532^2~38 X-Git-Url: http://review.tizen.org/git/?a=commitdiff_plain;h=4f079985b2caacfda5103dd85fb028a2848c84ab;p=platform%2Fkernel%2Fkernel-mfld-blackbay.git mfd: ab8500-core wake up from suspend This patch makes the system wake up from suspend when an ab8500 interrupt occur. This can for example be USB cable insert or an RTC alarm. Signed-off-by: Mattias Wallin Signed-off-by: Samuel Ortiz --- diff --git a/drivers/mfd/ab8500-core.c b/drivers/mfd/ab8500-core.c index 2bd4437..e464e94 100644 --- a/drivers/mfd/ab8500-core.c +++ b/drivers/mfd/ab8500-core.c @@ -519,7 +519,8 @@ int __devinit ab8500_init(struct ab8500 *ab8500) return ret; ret = request_threaded_irq(ab8500->irq, NULL, ab8500_irq, - IRQF_ONESHOT, "ab8500", ab8500); + IRQF_ONESHOT | IRQF_NO_SUSPEND, + "ab8500", ab8500); if (ret) goto out_removeirq; }