diff options
author | Alok Chauhan <alokc@nvidia.com> | 2011-08-26 10:11:37 +0530 |
---|---|---|
committer | Varun Colbert <vcolbert@nvidia.com> | 2011-08-26 15:21:35 -0700 |
commit | f7ad18a49224b897df1d1d92af50d46dab18a24b (patch) | |
tree | 4a1810ced1bc5d69237579121fa9b45431726d47 | |
parent | 965ba30ac0538fdacb1c89ebba8c1fe14c17b976 (diff) |
arm: tegra: kbc: Enabled more keys as wakeup source
Enabled Home, Back, Menu are as wakeup source keys
Bug 866078
Change-Id: If009a44f1db5b7d971a61f3cab5ece2ce4c3aefd
Reviewed-on: http://git-master/r/49368
Reviewed-by: Alok Chauhan <alokc@nvidia.com>
Tested-by: Alok Chauhan <alokc@nvidia.com>
Reviewed-by: Laxman Dewangan <ldewangan@nvidia.com>
Reviewed-by: Thomas Cherry <tcherry@nvidia.com>
-rw-r--r-- | arch/arm/mach-tegra/board-enterprise-kbc.c | 14 |
1 files changed, 13 insertions, 1 deletions
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], }; |