summaryrefslogtreecommitdiff
path: root/drivers/spmi/spmi-pmic-arb.c
diff options
context:
space:
mode:
authorKiran Gunda <kgunda@codeaurora.org>2017-05-10 17:25:41 +0300
committerGreg Kroah-Hartman <gregkh@linuxfoundation.org>2017-06-03 13:05:47 +0300
commit76b069b1cb201748c3a87474fb8ef02be2a01ba8 (patch)
treec826f3f772aeaaa3f0d3814f92fa6c86757affa2 /drivers/spmi/spmi-pmic-arb.c
parent319f68843db8005610a921942c9f539fdcf8017a (diff)
downloadlinux-76b069b1cb201748c3a87474fb8ef02be2a01ba8.tar.xz
spmi: spmi-pmic-arb: enable the SPMI interrupt as a wakeup source
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>
Diffstat (limited to 'drivers/spmi/spmi-pmic-arb.c')
-rw-r--r--drivers/spmi/spmi-pmic-arb.c1
1 files changed, 1 insertions, 0 deletions
diff --git a/drivers/spmi/spmi-pmic-arb.c b/drivers/spmi/spmi-pmic-arb.c
index 0deac33a2c30..2afe3597982e 100644
--- 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)