diff options
author | Nitin Kumbhar <nkumbhar@nvidia.com> | 2012-01-03 12:03:31 +0530 |
---|---|---|
committer | Varun Wadekar <vwadekar@nvidia.com> | 2012-01-03 00:56:45 -0800 |
commit | 1da8e08fbbd2531ddcfefc7c345071fe9c095418 (patch) | |
tree | 552c67412771901e5aba2b5b86855413aea98c21 /arch/arm/mach-tegra/board-harmony-kbc.c | |
parent | ffab3e2c0bbfa1b150c01b118c9ffd2b29426bb1 (diff) |
arm: tegra: disable auto repeat key events for android platforms
Repeat key events reported to android causes keys (e.g power key) to be
treated differently. Disable EV_REP on android platforms for now.
BUG 918758
Change-Id: I62a7c495303a906ef72738465ce5101d244e725d
Signed-off-by: Nitin Kumbhar <nkumbhar@nvidia.com>
Reviewed-on: http://git-master/r/72953
Reviewed-by: Automatic_Commit_Validation_User
Reviewed-by: Sachin Nikam <snikam@nvidia.com>
Reviewed-by: Varun Wadekar <vwadekar@nvidia.com>
Diffstat (limited to 'arch/arm/mach-tegra/board-harmony-kbc.c')
-rw-r--r-- | arch/arm/mach-tegra/board-harmony-kbc.c | 3 |
1 files changed, 3 insertions, 0 deletions
diff --git a/arch/arm/mach-tegra/board-harmony-kbc.c b/arch/arm/mach-tegra/board-harmony-kbc.c index a780103d978d..156da22bfece 100644 --- a/arch/arm/mach-tegra/board-harmony-kbc.c +++ b/arch/arm/mach-tegra/board-harmony-kbc.c @@ -347,6 +347,9 @@ static struct tegra_kbc_platform_data harmony_kbc_platform_data = { .use_fn_map = true, .wake_cnt = 2, .wake_cfg = &harmony_wake_cfg[0], +#ifdef CONFIG_ANDROID + .disable_ev_rep = true, +#endif }; int __init harmony_kbc_init(void) |