aboutsummaryrefslogtreecommitdiffstats
path: root/drivers/input/misc/gpio_matrix.c
diff options
context:
space:
mode:
Diffstat (limited to 'drivers/input/misc/gpio_matrix.c')
-rw-r--r--drivers/input/misc/gpio_matrix.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/drivers/input/misc/gpio_matrix.c b/drivers/input/misc/gpio_matrix.c
index 227eb8f..5679f52 100644
--- a/drivers/input/misc/gpio_matrix.c
+++ b/drivers/input/misc/gpio_matrix.c
@@ -272,7 +272,7 @@ static int gpio_keypad_request_irqs(struct gpio_kp *kp)
"irq %d\n", mi->input_gpios[i], irq);
goto err_request_irq_failed;
}
- err = set_irq_wake(irq, 1);
+ err = enable_irq_wake(irq);
if (err) {
pr_err("gpiomatrix: set_irq_wake failed for input %d, "
"irq %d\n", mi->input_gpios[i], irq);