Messages in this thread Patch in this message | | | From | Lee Jones <> | Subject | [PATCH 12/21] gpio: ab8500: Allow gpios to wake the system from suspend | Date | Fri, 14 Dec 2012 16:19:30 +0000 |
| |
From: Paer-Olof Haakansson <par-olof.hakansson@stericsson.com>
Signed-off-by: Lee Jones <lee.jones@linaro.org> Signed-off-by: Paer-Olof Haakansson <par-olof.hakansson@stericsson.com> Reviewed-by: Jonas ABERG <jonas.aberg@stericsson.com> --- drivers/gpio/gpio-ab8500.c | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-)
diff --git a/drivers/gpio/gpio-ab8500.c b/drivers/gpio/gpio-ab8500.c index 8616368..ef75984 100644 --- a/drivers/gpio/gpio-ab8500.c +++ b/drivers/gpio/gpio-ab8500.c @@ -329,12 +329,12 @@ static void ab8500_gpio_irq_sync_unlock(struct irq_data *data) if (rising) ret = request_threaded_irq(irq_to_rising(irq), NULL, handle_rising, - IRQF_TRIGGER_RISING, + IRQF_TRIGGER_RISING | IRQF_NO_SUSPEND, "ab8500-gpio-r", ab8500_gpio); if (falling) ret = request_threaded_irq(irq_to_falling(irq), NULL, handle_falling, - IRQF_TRIGGER_FALLING, + IRQF_TRIGGER_FALLING | IRQF_NO_SUSPEND, "ab8500-gpio-f", ab8500_gpio); break; case SHUTDOWN: -- 1.7.9.5
| |