diff options
author | Matt Wagner <mwagner@nvidia.com> | 2013-04-09 16:15:31 -0700 |
---|---|---|
committer | Simone Willett <swillett@nvidia.com> | 2013-04-11 20:11:26 -0700 |
commit | 1278d42a0a8e4111db3d95ae3a0d3d8d709b1819 (patch) | |
tree | 46df0148d4f1405b80e86e034768af9f550a68a7 /arch | |
parent | 918f90fe97816f8974a9541dd6897c610cde3734 (diff) |
ARM: Tegra: Roth: Return -1 If No Key Woke the Device
Return -1 instead of KEY_RESERVED to prevent the device thinking
SW_LID woke it on normal wakes
Bug 1265175
Change-Id: I7a07beb1142907a39f7fee86fb082a8b97d04e92
Signed-off-by: Matt Wagner <mwagner@nvidia.com>
Reviewed-on: http://git-master/r/218002
Reviewed-by: Automatic_Commit_Validation_User
GVS: Gerrit_Virtual_Submit
Diffstat (limited to 'arch')
-rw-r--r-- | arch/arm/mach-tegra/board-roth-kbc.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/arch/arm/mach-tegra/board-roth-kbc.c b/arch/arm/mach-tegra/board-roth-kbc.c index 06b009f63c2d..95dac8b0aa2a 100644 --- a/arch/arm/mach-tegra/board-roth-kbc.c +++ b/arch/arm/mach-tegra/board-roth-kbc.c @@ -115,7 +115,7 @@ static int roth_wakeup_key(void) else if (status & (1ULL << TEGRA_WAKE_GPIO_PS0)) wakeup_key = SW_LID; else - wakeup_key = KEY_RESERVED; + wakeup_key = -1; return wakeup_key; } |