aboutsummaryrefslogtreecommitdiffstats
path: root/arch/arm/mach-omap2/board-tuna-input.c
diff options
context:
space:
mode:
authorAxel Haslam <axelhaslam@ti.com>2011-09-07 19:01:00 -0700
committerTodd Poynor <toddpoynor@google.com>2011-09-11 11:51:12 -0700
commitf91cf44fca081326d2f5b79795f5fd8653d83c5d (patch)
tree0fcdbeea11a34b383dcd8d1288d41a1546cf370b /arch/arm/mach-omap2/board-tuna-input.c
parent868db5a87d7c1f750c9bb63e91074025a76e0480 (diff)
downloadkernel_samsung_tuna-f91cf44fca081326d2f5b79795f5fd8653d83c5d.zip
kernel_samsung_tuna-f91cf44fca081326d2f5b79795f5fd8653d83c5d.tar.gz
kernel_samsung_tuna-f91cf44fca081326d2f5b79795f5fd8653d83c5d.tar.bz2
ARM: omap4: tuna: Set power button as wakeup
By default buttons are not wakeup anymore we have to set the no_suspend flag so gpio_event driver will set power button as wakup. Change-Id: Ie337be68284bf286de058bcd2ee493dd64f2f6d1 Signed-off-by: Axel Haslam <axelhaslam@ti.com>
Diffstat (limited to 'arch/arm/mach-omap2/board-tuna-input.c')
-rw-r--r--arch/arm/mach-omap2/board-tuna-input.c1
1 files changed, 1 insertions, 0 deletions
diff --git a/arch/arm/mach-omap2/board-tuna-input.c b/arch/arm/mach-omap2/board-tuna-input.c
index e80af6d..35f9116 100644
--- a/arch/arm/mach-omap2/board-tuna-input.c
+++ b/arch/arm/mach-omap2/board-tuna-input.c
@@ -42,6 +42,7 @@ static struct gpio_event_direct_entry tuna_gpio_keypad_keys_map_high[] = {
static struct gpio_event_input_info tuna_gpio_keypad_keys_info_high = {
.info.func = gpio_event_input_func,
+ .info.no_suspend = true,
.type = EV_KEY,
.keymap = tuna_gpio_keypad_keys_map_high,
.keymap_size = ARRAY_SIZE(tuna_gpio_keypad_keys_map_high),