From 6e89051692a289cbd1ab3f520f1fa3cd25b38246 Mon Sep 17 00:00:00 2001 From: Colin Cross Date: Fri, 8 Apr 2011 19:18:42 -0700 Subject: [PATCH] input: misc: gpio_matrix: Fix irq call for 2.6.39 Change-Id: Ib8dd0ab6554e6b0e3798bf75d41f77ea0b20b8de Signed-off-by: Colin Cross --- drivers/input/misc/gpio_matrix.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/drivers/input/misc/gpio_matrix.c b/drivers/input/misc/gpio_matrix.c index 227eb8fe3c09..5679f523603e 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); -- 2.34.1