public inbox for linux-kernel@vger.kernel.org
 help / color / mirror / Atom feed
* [PATCH] MFD: ab8500-core wake up from suspend
@ 2010-12-02 14:10 Mattias Wallin
  2010-12-09 13:50 ` Samuel Ortiz
  0 siblings, 1 reply; 2+ messages in thread
From: Mattias Wallin @ 2010-12-02 14:10 UTC (permalink / raw)
  To: Samuel Ortiz; +Cc: linux-kernel, Linus Walleij, Mattias Wallin

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 <mattias.wallin@stericsson.com>
---
 drivers/mfd/ab8500-core.c |    3 ++-
 1 files changed, 2 insertions(+), 1 deletions(-)

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;
 	}
-- 
1.7.2.2


^ permalink raw reply related	[flat|nested] 2+ messages in thread

* Re: [PATCH] MFD: ab8500-core wake up from suspend
  2010-12-02 14:10 [PATCH] MFD: ab8500-core wake up from suspend Mattias Wallin
@ 2010-12-09 13:50 ` Samuel Ortiz
  0 siblings, 0 replies; 2+ messages in thread
From: Samuel Ortiz @ 2010-12-09 13:50 UTC (permalink / raw)
  To: Mattias Wallin; +Cc: linux-kernel, Linus Walleij

Hi Mattias,

On Thu, Dec 02, 2010 at 03:10:27PM +0100, Mattias Wallin wrote:
> 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.
Applied, thanks.

Cheers,
Samuel.

-- 
Intel Open Source Technology Centre
http://oss.intel.com/

^ permalink raw reply	[flat|nested] 2+ messages in thread

end of thread, other threads:[~2010-12-09 13:50 UTC | newest]

Thread overview: 2+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2010-12-02 14:10 [PATCH] MFD: ab8500-core wake up from suspend Mattias Wallin
2010-12-09 13:50 ` Samuel Ortiz

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox