* [PATCH 1/4] ASoC: wm0010: Clear IRQ as wake source and include missing header
@ 2013-06-03 14:57 Charles Keepax
2013-06-03 15:38 ` Mark Brown
0 siblings, 1 reply; 3+ messages in thread
From: Charles Keepax @ 2013-06-03 14:57 UTC (permalink / raw)
To: broonie; +Cc: alsa-devel, tiwai, patches, lgirdwood, Charles Keepax
Both clear the IRQ as being a wake source when we are finished with it
and include a missing header file that is required.
Signed-off-by: Charles Keepax <ckeepax@opensource.wolfsonmicro.com>
---
sound/soc/codecs/wm0010.c | 3 +++
1 files changed, 3 insertions(+), 0 deletions(-)
diff --git a/sound/soc/codecs/wm0010.c b/sound/soc/codecs/wm0010.c
index b6df319..f5e8356 100644
--- a/sound/soc/codecs/wm0010.c
+++ b/sound/soc/codecs/wm0010.c
@@ -14,6 +14,7 @@
#include <linux/module.h>
#include <linux/moduleparam.h>
+#include <linux/interrupt.h>
#include <linux/irqreturn.h>
#include <linux/init.h>
#include <linux/spi/spi.h>
@@ -1002,6 +1003,8 @@ static int wm0010_spi_remove(struct spi_device *spi)
gpio_set_value_cansleep(wm0010->gpio_reset,
wm0010->gpio_reset_value);
+ irq_set_irq_wake(wm0010->irq, 0);
+
if (wm0010->irq)
free_irq(wm0010->irq, wm0010);
--
1.7.2.5
^ permalink raw reply related [flat|nested] 3+ messages in thread
* Re: [PATCH 1/4] ASoC: wm0010: Clear IRQ as wake source and include missing header
2013-06-03 14:57 [PATCH 1/4] ASoC: wm0010: Clear IRQ as wake source and include missing header Charles Keepax
@ 2013-06-03 15:38 ` Mark Brown
2013-06-03 16:21 ` Charles Keepax
0 siblings, 1 reply; 3+ messages in thread
From: Mark Brown @ 2013-06-03 15:38 UTC (permalink / raw)
To: Charles Keepax; +Cc: tiwai, alsa-devel, patches, lgirdwood
[-- Attachment #1.1: Type: text/plain, Size: 243 bytes --]
On Mon, Jun 03, 2013 at 03:57:55PM +0100, Charles Keepax wrote:
> Both clear the IRQ as being a wake source when we are finished with it
> and include a missing header file that is required.
Applied, but patches 2-4 appear to have gone AWOL.
[-- Attachment #1.2: Digital signature --]
[-- Type: application/pgp-signature, Size: 836 bytes --]
[-- Attachment #2: Type: text/plain, Size: 0 bytes --]
^ permalink raw reply [flat|nested] 3+ messages in thread
* Re: [PATCH 1/4] ASoC: wm0010: Clear IRQ as wake source and include missing header
2013-06-03 15:38 ` Mark Brown
@ 2013-06-03 16:21 ` Charles Keepax
0 siblings, 0 replies; 3+ messages in thread
From: Charles Keepax @ 2013-06-03 16:21 UTC (permalink / raw)
To: Mark Brown; +Cc: tiwai, alsa-devel, patches, lgirdwood
On Mon, Jun 03, 2013 at 04:38:20PM +0100, Mark Brown wrote:
> Applied, but patches 2-4 appear to have gone AWOL.
As usual just me being foolish, unrelated changes that I will be
upstreaming shortly sorry about that.
Thanks,
Charles
^ permalink raw reply [flat|nested] 3+ messages in thread
end of thread, other threads:[~2013-06-03 16:21 UTC | newest]
Thread overview: 3+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2013-06-03 14:57 [PATCH 1/4] ASoC: wm0010: Clear IRQ as wake source and include missing header Charles Keepax
2013-06-03 15:38 ` Mark Brown
2013-06-03 16:21 ` Charles Keepax
This is an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.