linux-arm-msm.vger.kernel.org archive mirror
 help / color / mirror / Atom feed
From: Kiran Gunda <kgunda@codeaurora.org>
To: Kiran Gunda <kgunda@codeaurora.org>,
	Christophe JAILLET <christophe.jaillet@wanadoo.fr>,
	Greg Kroah-Hartman <gregkh@linuxfoundation.org>,
	Abhijeet Dharmapurikar <adharmap@codeaurora.org>,
	linux-kernel@vger.kernel.org
Cc: Timur Tabi <timur@codeaurora.org>,
	linux-arm-msm@vger.kernel.org, adharmap@quicinc.com,
	aghayal@qti.qualcomm.com,
	Nicholas Troast <ntroast@codeaurora.org>
Subject: [PATCH 11/11] spmi: spmi-pmic-arb: enable the SPMI interrupt as a wakeup source
Date: Wed, 10 May 2017 19:55:41 +0530	[thread overview]
Message-ID: <1494426343-6431-11-git-send-email-kgunda@codeaurora.org> (raw)
In-Reply-To: <1494426343-6431-1-git-send-email-kgunda@codeaurora.org>

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

      parent reply	other threads:[~2017-05-10 14:25 UTC|newest]

Thread overview: 11+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2017-05-10 14:25 [PATCH 01/11] spmi: pmic_arb: block access of invalid read and writes Kiran Gunda
2017-05-10 14:25 ` [PATCH 02/11] spmi: pmic-arb: rename spmi_pmic_arb_dev to spmi_pmic_arb Kiran Gunda
2017-05-10 14:25 ` [PATCH 03/11] spmi: pmic-arb: fix inconsistent use of apid and chan Kiran Gunda
2017-05-10 14:25 ` [PATCH 04/11] spmi: pmic-arb: optimize table lookups Kiran Gunda
2017-05-10 14:25 ` [PATCH 05/11] spmi: pmic-arb: cleanup unrequested irqs Kiran Gunda
2017-05-10 14:25 ` [PATCH 06/11] spmi: pmic-arb: fix missing interrupts Kiran Gunda
2017-05-10 14:25 ` [PATCH 07/11] spmi: pmic-arb: clear the latched status of the interrupt Kiran Gunda
2017-05-10 14:25 ` [PATCH 08/11] spmi: pmic_arb: use appropriate flow handler Kiran Gunda
2017-05-10 14:25 ` [PATCH 09/11] spmi: pmic-arb: check apid enabled before calling the handler Kiran Gunda
2017-05-10 14:25 ` [PATCH 10/11] spmi: pmic_arb: add support for PMIC bus arbiter v3 Kiran Gunda
2017-05-10 14:25 ` Kiran Gunda [this message]

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=1494426343-6431-11-git-send-email-kgunda@codeaurora.org \
    --to=kgunda@codeaurora.org \
    --cc=adharmap@codeaurora.org \
    --cc=adharmap@quicinc.com \
    --cc=aghayal@qti.qualcomm.com \
    --cc=christophe.jaillet@wanadoo.fr \
    --cc=gregkh@linuxfoundation.org \
    --cc=linux-arm-msm@vger.kernel.org \
    --cc=linux-kernel@vger.kernel.org \
    --cc=ntroast@codeaurora.org \
    --cc=timur@codeaurora.org \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for NNTP newsgroup(s).