]> git.karo-electronics.de Git - karo-tx-linux.git/commitdiff
ARM: shmobile: lager: mark GPIO keys as wake-up sources
authorShinya Kuribayashi <shinya.kuribayashi.px@renesas.com>
Wed, 13 Nov 2013 22:40:26 +0000 (07:40 +0900)
committerSimon Horman <horms+renesas@verge.net.au>
Tue, 10 Dec 2013 08:24:25 +0000 (17:24 +0900)
Enable wakeup for the GPIO keys on the Lager board.

Signed-off-by: Shinya Kuribayashi <shinya.kuribayashi.px@renesas.com>
Signed-off-by: Magnus Damm <damm@opensource.se>
Signed-off-by: Simon Horman <horms+renesas@verge.net.au>
arch/arm/mach-shmobile/board-lager.c

index fcf06fd9cfeee792c48e9cae4bfcfc0dc1155679..f5dab34c327ecfbe2fea45070efff9e3b5372ad1 100644 (file)
@@ -121,7 +121,7 @@ static const struct gpio_led_platform_data lager_leds_pdata __initconst = {
 /* GPIO KEY */
 #define GPIO_KEY(c, g, d, ...) \
        { .code = c, .gpio = g, .desc = d, .active_low = 1, \
-         .debounce_interval = 20 }
+         .wakeup = 1, .debounce_interval = 20 }
 
 static struct gpio_keys_button gpio_buttons[] = {
        GPIO_KEY(KEY_4,         RCAR_GP_PIN(1, 28),     "SW2-pin4"),