Groups | Search | Server Info | Keyboard shortcuts | Login | Register [http] [https] [nntp] [nntps]
Groups > linux.kernel > #1638886
| From | Kiran Gunda <kgunda@codeaurora.org> |
|---|---|
| Newsgroups | linux.kernel |
| Subject | [PATCH 11/11] spmi: spmi-pmic-arb: enable the SPMI interrupt as a wakeup source |
| Date | 2017-05-10 16:40 +0200 |
| Message-ID | <tFAWu-1U4-31@gated-at.bofh.it> (permalink) |
| References | <tFAMN-1Qr-9@gated-at.bofh.it> |
| Organization | linux.* mail to news gateway |
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> --- drivers/spmi/spmi-pmic-arb.c | 1 + 1 file changed, 1 insertion(+) diff --git a/drivers/spmi/spmi-pmic-arb.c b/drivers/spmi/spmi-pmic-arb.c index 0deac33..2afe359 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) -- The Qualcomm Innovation Center, Inc. is a member of the Code Aurora Forum, a Linux Foundation Collaborative Project
Back to linux.kernel | Previous | Next — Previous in thread | Find similar | Unroll thread
[PATCH 01/11] spmi: pmic_arb: block access of invalid read and writes Kiran Gunda <kgunda@codeaurora.org> - 2017-05-10 16:30 +0200 [PATCH 06/11] spmi: pmic-arb: fix missing interrupts Kiran Gunda <kgunda@codeaurora.org> - 2017-05-10 16:30 +0200 [PATCH 04/11] spmi: pmic-arb: optimize table lookups Kiran Gunda <kgunda@codeaurora.org> - 2017-05-10 16:30 +0200 [PATCH 03/11] spmi: pmic-arb: fix inconsistent use of apid and chan Kiran Gunda <kgunda@codeaurora.org> - 2017-05-10 16:30 +0200 [PATCH 11/11] spmi: spmi-pmic-arb: enable the SPMI interrupt as a wakeup source Kiran Gunda <kgunda@codeaurora.org> - 2017-05-10 16:40 +0200
csiph-web