LKML Archive on lore.kernel.org
help / color / mirror / Atom feed
From: Adam Ward <adam.ward.opensource@diasemi.com>
To: Samuel Ortiz <sameo@linux.intel.com>, Lee Jones <lee.jones@linaro.org>
Cc: Support Opensource <support.opensource@diasemi.com>,
	<linux-kernel@vger.kernel.org>
Subject: [PATCH v1 2/2] mfd: da9052: Register ability of device to cause a wake-up interrupt
Date: Wed, 4 Mar 2015 16:13:12 +0000	[thread overview]
Message-ID: <88b764be4d507b11f9e04bd09f9ab9dc579dea0b.1425490309.git.adam.ward.opensource@diasemi.com> (raw)
In-Reply-To: <cover.1425490309.git.adam.ward.opensource@diasemi.com>

Signed-off-by: Adam Ward <adam.ward.opensource@diasemi.com>
Tested-by: Adam Ward <adam.ward.opensource@diasemi.com>
---
 drivers/mfd/da9052-irq.c | 2 ++
 1 file changed, 2 insertions(+)

diff --git a/drivers/mfd/da9052-irq.c b/drivers/mfd/da9052-irq.c
index 57ae784..e65ca19 100644
--- a/drivers/mfd/da9052-irq.c
+++ b/drivers/mfd/da9052-irq.c
@@ -262,6 +262,8 @@ int da9052_irq_init(struct da9052 *da9052)
 		goto regmap_err;
 	}

+	enable_irq_wake(da9052->chip_irq);
+
 	ret = da9052_request_irq(da9052, DA9052_IRQ_ADC_EOM, "adc-irq",
 			    da9052_auxadc_irq, da9052);

-- 
end-of-patch for mfd: da9052: Fix SPI access and IRQ config


  parent reply	other threads:[~2015-03-04 17:38 UTC|newest]

Thread overview: 5+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2015-03-04 17:31 [PATCH v1 0/2] mfd: da9052: Fix SPI access and IRQ config Adam Ward
2015-03-04 16:13 ` [PATCH v1 1/2] mfd: da9052: Fix register access via SPI Adam Ward
2015-03-04 18:44   ` Lee Jones
2015-03-04 16:13 ` Adam Ward [this message]
2015-03-04 18:45   ` [PATCH v1 2/2] mfd: da9052: Register ability of device to cause a wake-up interrupt Lee Jones

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=88b764be4d507b11f9e04bd09f9ab9dc579dea0b.1425490309.git.adam.ward.opensource@diasemi.com \
    --to=adam.ward.opensource@diasemi.com \
    --cc=lee.jones@linaro.org \
    --cc=linux-kernel@vger.kernel.org \
    --cc=sameo@linux.intel.com \
    --cc=support.opensource@diasemi.com \
    --subject='Re: [PATCH v1 2/2] mfd: da9052: Register ability of device to cause a wake-up interrupt' \
    /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

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).