aboutsummaryrefslogtreecommitdiff
path: root/drivers/hwmon
diff options
context:
space:
mode:
authorMattias Wallin <mattias.wallin@stericsson.com>2010-11-11 11:47:47 +0100
committerSundar Iyer <sundar.iyer@stericsson.com>2010-11-19 14:47:57 +0530
commit229a6ea9afa08df4eac89b3dbe87bc30987e382e (patch)
treeed0a4939a557fee2e705fd9f17143073395c0fd8 /drivers/hwmon
parent5f5002ff325f389ffb7e2ad6f6462bb4a67a35c1 (diff)
IRQF_NO_SUSPEND and ab8500 wake up
This patch changes the use of IRQF_TIMER to IRQF_NO_SUSPEND. The IRQF_NO_SUSPEND flag will make the system wakeup from suspend. This patch also makes the system wakeup for AB8500 events. A few subdrivers to AB8500 irqs are also configured to wake up. Signed-off-by: Mattias Wallin <mattias.wallin@stericsson.com> ST-Ericsson ID: ER 277523 Change-Id: I7737656716f81963f48cfb87ebd2c817f0e8cba9 Reviewed-on: http://gerrit.lud.stericsson.com/gerrit/8422 Tested-by: Mattias WALLIN <mattias.wallin@stericsson.com> Reviewed-by: Jonas ABERG <jonas.aberg@stericsson.com>
Diffstat (limited to 'drivers/hwmon')
-rw-r--r--drivers/hwmon/ab8500.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/drivers/hwmon/ab8500.c b/drivers/hwmon/ab8500.c
index 9b093188406..3d9d21e37f7 100644
--- a/drivers/hwmon/ab8500.c
+++ b/drivers/hwmon/ab8500.c
@@ -612,7 +612,7 @@ static int setup_irqs(struct platform_device *pdev)
dev_err(&pdev->dev, "Get irq by name failed\n");
ret = request_threaded_irq(irq, NULL, ab8500_temp_irq_handler,
- 0, "ab8500-temp", pdev);
+ IRQF_NO_SUSPEND, "ab8500-temp", pdev);
if (ret < 0)
dev_err(&pdev->dev, "Request threaded irq failed (%d)\n", ret);