mirror of https://gitee.com/openkylin/linux.git
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>
This commit is contained in:
parent
28959f268f
commit
458f7f8f81
|
@ -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",
|
||||
|
|
Loading…
Reference in New Issue