From: Colin Cross Date: Sat, 9 Apr 2011 02:18:42 +0000 (-0700) Subject: input: misc: gpio_matrix: Fix irq call for 2.6.39 X-Git-Tag: firefly_0821_release~7613^2~645 X-Git-Url: http://demsky.eecs.uci.edu/git/?a=commitdiff_plain;h=6e89051692a289cbd1ab3f520f1fa3cd25b38246;p=firefly-linux-kernel-4.4.55.git input: misc: gpio_matrix: Fix irq call for 2.6.39 Change-Id: Ib8dd0ab6554e6b0e3798bf75d41f77ea0b20b8de Signed-off-by: Colin Cross --- 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);