projects
/
linux.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
319f688
)
spmi: spmi-pmic-arb: enable the SPMI interrupt as a wakeup source
author
Kiran Gunda
<kgunda@codeaurora.org>
Wed, 10 May 2017 14:25:41 +0000
(19:55 +0530)
committer
Greg Kroah-Hartman
<gregkh@linuxfoundation.org>
Sat, 3 Jun 2017 10:05:47 +0000
(19:05 +0900)
Currently the SPMI interrupt will not wake the device. Enable this
interrupt as a wakeup source.
Signed-off-by: Nicholas Troast <ntroast@codeaurora.org>
Signed-off-by: Kiran Gunda <kgunda@codeaurora.org>
Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
drivers/spmi/spmi-pmic-arb.c
patch
|
blob
|
history
diff --git
a/drivers/spmi/spmi-pmic-arb.c
b/drivers/spmi/spmi-pmic-arb.c
index
0deac33
..
2afe359
100644
(file)
--- a/
drivers/spmi/spmi-pmic-arb.c
+++ b/
drivers/spmi/spmi-pmic-arb.c
@@
-1140,6
+1140,7
@@
static int spmi_pmic_arb_probe(struct platform_device *pdev)
}
irq_set_chained_handler_and_data(pa->irq, pmic_arb_chained_irq, pa);
+ enable_irq_wake(pa->irq);
err = spmi_controller_add(ctrl);
if (err)