From 2a980cf42de84889b490c590992a0863d713d633 Mon Sep 17 00:00:00 2001 From: Alok Chauhan Date: Fri, 26 Aug 2011 10:11:37 +0530 Subject: arm: tegra: kbc: Enabled more keys as wakeup source Enabled Home, Back, Menu are as wakeup source keys Bug 866078 Original-Change-Id: If009a44f1db5b7d971a61f3cab5ece2ce4c3aefd Reviewed-on: http://git-master/r/49368 Reviewed-by: Alok Chauhan Tested-by: Alok Chauhan Reviewed-by: Laxman Dewangan Reviewed-by: Thomas Cherry Rebase-Id: R6fceeb4b43b424ba33d4f125511d1b5d46f7ab07 --- arch/arm/mach-tegra/board-enterprise-kbc.c | 14 +++++++++++++- 1 file changed, 13 insertions(+), 1 deletion(-) (limited to 'arch/arm/mach-tegra/board-enterprise-kbc.c') diff --git a/arch/arm/mach-tegra/board-enterprise-kbc.c b/arch/arm/mach-tegra/board-enterprise-kbc.c index aee4d4098bd3..94bcbb946335 100644 --- a/arch/arm/mach-tegra/board-enterprise-kbc.c +++ b/arch/arm/mach-tegra/board-enterprise-kbc.c @@ -43,6 +43,18 @@ static struct tegra_kbc_wake_key enterprise_wake_cfg[] = { .row = 0, .col = 0, }, + [1] = { + .row = 1, + .col = 0, + }, + [2] = { + .row = 1, + .col = 1, + }, + [3] = { + .row = 2, + .col = 0, + }, }; static struct tegra_kbc_platform_data enterprise_kbc_platform_data = { @@ -53,7 +65,7 @@ static struct tegra_kbc_platform_data enterprise_kbc_platform_data = { .fn_keycode = NULL, .is_filter_keys = false, .is_wake_on_any_key = false, - .wake_key_cnt = 1, + .wake_key_cnt = 4, .wake_cfg = &enterprise_wake_cfg[0], }; -- cgit v1.2.3