summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorPaer-Olof Haakansson <par-olof.hakansson@stericsson.com>2012-02-28 16:45:36 +0100
committerPhilippe Langlais <philippe.langlais@stericsson.com>2012-06-05 10:40:33 +0200
commitd1d1ec4f85b6e33e242db619968f6aa9b83e5a7d (patch)
treef3c412186d2dd1582eecb7f3180d4362a9f854be
parentbff3038b9cee56f1751ac4bb229a851dd7346e7e (diff)
U8500: Make SIM detect work on resumemodem
The sim detect irq was not enabled during suspend which meant that the first irq on wakeup was lost. ST-Ericsson Linux next: NA ST-Ericsson ID: 399003 ST-Ericsson FOSS-OUT ID: Trivial Change-Id: I5ae895adc38fd2128953010342930cd0c92d27be Signed-off-by: Paer-Olof Haakansson <par-olof.hakansson@stericsson.com> Reviewed-on: http://gerrit.lud.stericsson.com/gerrit/50784 Reviewed-by: QATOOLS Reviewed-by: Jonas ABERG <jonas.aberg@stericsson.com>
-rw-r--r--drivers/misc/sim_detect.c4
1 files changed, 3 insertions, 1 deletions
diff --git a/drivers/misc/sim_detect.c b/drivers/misc/sim_detect.c
index 20975c8d4b5..e67f4fad3db 100644
--- a/drivers/misc/sim_detect.c
+++ b/drivers/misc/sim_detect.c
@@ -223,7 +223,9 @@ static int __devinit sim_detect_probe(struct platform_device *pdev)
/* request irq */
ret = request_threaded_irq(plat->irq_num,
NULL, sim_activity_irq,
- IRQF_TRIGGER_FALLING | IRQF_TRIGGER_RISING,
+ IRQF_TRIGGER_FALLING |
+ IRQF_TRIGGER_RISING |
+ IRQF_NO_SUSPEND,
"sim activity", sim_detect);
if (ret < 0)
goto out_put_modem;