summaryrefslogtreecommitdiff
path: root/sound/soc/soc-jack.c
diff options
context:
space:
mode:
authorThomas Gleixner <tglx@linutronix.de>2011-03-30 00:39:44 +0200
committerThomas Gleixner <tglx@linutronix.de>2011-03-30 00:39:44 +0200
commit458f7f8f819b63431f1098a086fafce4a503fb77 (patch)
treea5bb0197700466bcfb9a658eb8cda3669389598b /sound/soc/soc-jack.c
parent28959f268f910b2cd1c25e838b63c342062e28f2 (diff)
sound: Fixup the last user of the old irq functions
I had seen that before, but now that I removed set_irq_wake it broke. Signed-off-by: Thomas Gleixner <tglx@linutronix.de>
Diffstat (limited to 'sound/soc/soc-jack.c')
-rw-r--r--sound/soc/soc-jack.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/sound/soc/soc-jack.c b/sound/soc/soc-jack.c
index fcab80b36a37..fc017c0a7b5d 100644
--- a/sound/soc/soc-jack.c
+++ b/sound/soc/soc-jack.c
@@ -331,7 +331,7 @@ int snd_soc_jack_add_gpios(struct snd_soc_jack *jack, int count,
goto err;
if (gpios[i].wake) {
- ret = set_irq_wake(gpio_to_irq(gpios[i].gpio), 1);
+ ret = irq_set_irq_wake(gpio_to_irq(gpios[i].gpio), 1);
if (ret != 0)
printk(KERN_ERR
"Failed to mark GPIO %d as wake source: %d\n",