sound: Fixup the last user of the old irq functions
authorThomas Gleixner <tglx@linutronix.de>
Tue, 29 Mar 2011 22:39:44 +0000 (00:39 +0200)
committerThomas Gleixner <tglx@linutronix.de>
Tue, 29 Mar 2011 22:39:44 +0000 (00:39 +0200)
I had seen that before, but now that I removed set_irq_wake it broke.

Signed-off-by: Thomas Gleixner <tglx@linutronix.de>
sound/soc/soc-jack.c

index fcab80b36a378f4f9089971d1d04a9473f65549c..fc017c0a7b5d332082ace1a212dff7eb268fb7c4 100644 (file)
@@ -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",