Skip to contentSkip to conversation

ASoC: wm0010: Clear IRQ as wake source and include missing header

PATCH Applied Charles Keepax 2 participants 3 messages Jun 3, 2013

Subsystems (3)
lore
Share & tools
lore
#0 lore raw

PATCH 1/4 ASoC: wm0010: Clear IRQ as wake source and include missing header

Both clear the IRQ as being a wake source when we are finished with it and include a missing header file that is required.

---
 sound/soc/codecs/wm0010.c |    3 +++
 1 files changed, 3 insertions(+), 0 deletions(-)
sound/soc/codecs/wm0010.c +3 -0
index b6df319..f5e8356 100644
@@ -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);
 
Signature · 1 line
1.7.2.5
maintainer Applied
#1 lore raw
Quoted 2 lines · 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.

Applied, but patches 2-4 appear to have gone AWOL.

#2 lore raw
Quoted 1 line · Mark Brown

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