summaryrefslogtreecommitdiffstats
path: root/drivers
diff options
context:
space:
mode:
authorKiran Gunda <kgunda@codeaurora.org>2017-05-10 16:25:41 +0200
committerGreg Kroah-Hartman <gregkh@linuxfoundation.org>2017-06-03 12:05:47 +0200
commit76b069b1cb201748c3a87474fb8ef02be2a01ba8 (patch)
treec826f3f772aeaaa3f0d3814f92fa6c86757affa2 /drivers
parentspmi: pmic_arb: add support for PMIC bus arbiter v3 (diff)
downloadlinux-76b069b1cb201748c3a87474fb8ef02be2a01ba8.tar.xz
linux-76b069b1cb201748c3a87474fb8ef02be2a01ba8.zip
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')
-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)