summaryrefslogtreecommitdiff
path: root/arch
diff options
context:
space:
mode:
authorYong Goo Yi <yyi@nvidia.com>2013-09-04 14:35:01 +0900
committerGabby Lee <galee@nvidia.com>2013-09-04 03:34:14 -0700
commit92d89e9a95c077896ef60df08703475f284f26a1 (patch)
tree3359a238fe21b7814ca9f9d9066dcdbe1c075295 /arch
parent87de1d533241169695c552e837f024208d98c670 (diff)
arm: tegra: tegratab: KEY_UNKNOWN as default wakeup_key
Key code of SW_LID is 0 same with KEY_RESERVED used as default value when checking wakeup key so even though waking up by RTC or wl18xx, gpio key driver works for SW_LID. It increases LP0 standby power. Use KEY_UNKNOWN as default wakeup_key. Bug 1361016 Change-Id: Id44f78214060eb702e3a44997c1722095c734195 Signed-off-by: Yong Goo Yi <yyi@nvidia.com> Reviewed-on: http://git-master/r/269908 Reviewed-by: Simon Je <sje@nvidia.com> GVS: Gerrit_Virtual_Submit Reviewed-by: Gabby Lee <galee@nvidia.com>
Diffstat (limited to 'arch')
-rw-r--r--arch/arm/mach-tegra/board-tegratab-kbc.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/arch/arm/mach-tegra/board-tegratab-kbc.c b/arch/arm/mach-tegra/board-tegratab-kbc.c
index c3df56dfeac1..86e53aa68c00 100644
--- a/arch/arm/mach-tegra/board-tegratab-kbc.c
+++ b/arch/arm/mach-tegra/board-tegratab-kbc.c
@@ -89,7 +89,7 @@ static int tegratab_wakeup_key(void)
else if (status & ((u64)1 << TEGRA_WAKE_GPIO_PO5))
wakeup_key = SW_TABLET_MODE;
else
- wakeup_key = KEY_RESERVED;
+ wakeup_key = KEY_UNKNOWN;
return wakeup_key;
}