summaryrefslogtreecommitdiff
path: root/arch/arm/mach-tegra/board-cardhu-kbc.c
diff options
context:
space:
mode:
authorLaxman Dewangan <ldewangan@nvidia.com>2011-11-15 21:07:12 +0530
committerDan Willemsen <dwillemsen@nvidia.com>2011-11-30 21:50:17 -0800
commit1bbc6f40c02244c086554d9776c8a14c319dcfb8 (patch)
tree387a8492919eb34e83966434bfe0a8ad7801e2d2 /arch/arm/mach-tegra/board-cardhu-kbc.c
parentd94e98e6352a97c0472e73936f97198fdf967ca6 (diff)
arm: tegra: cardhu: Shutdown system if ONKEY press for long
Powering off the cardhu if onkey is pressed for longer time (more than 5 sec). The short key (< 1 second) takes system into suspend, the key press to 1 to 5 sec popup shutdown menu and more than 5 second power off the system. bug 810512 Reviewed-on: http://git-master/r/65108 (cherry picked from commit 71ecd268ab0a3fb8417c1d9a13dcb5e06fc3ac7a) Change-Id: I1da27b2464445131ae82bc67a419d064c8149d60 Signed-off-by: Laxman Dewangan <ldewangan@nvidia.com> Reviewed-on: http://git-master/r/65805 Reviewed-by: Varun Colbert <vcolbert@nvidia.com> Tested-by: Varun Colbert <vcolbert@nvidia.com> Rebase-Id: R7f958a5d99de7dc354d807acd75bc319cfe87b30
Diffstat (limited to 'arch/arm/mach-tegra/board-cardhu-kbc.c')
-rw-r--r--arch/arm/mach-tegra/board-cardhu-kbc.c1
1 files changed, 0 insertions, 1 deletions
diff --git a/arch/arm/mach-tegra/board-cardhu-kbc.c b/arch/arm/mach-tegra/board-cardhu-kbc.c
index a816e2b7e334..e84e6da9717c 100644
--- a/arch/arm/mach-tegra/board-cardhu-kbc.c
+++ b/arch/arm/mach-tegra/board-cardhu-kbc.c
@@ -222,7 +222,6 @@ static struct platform_device cardhu_keys_e1291_device = {
}
static struct interrupt_keys_button cardhu_int_keys[] = {
[0] = INT_KEY(KEY_POWER, TPS6591X_IRQ_BASE + TPS6591X_INT_PWRON, 0, 100),
- [1] = INT_KEY(KEY_POWER, TPS6591X_IRQ_BASE + TPS6591X_INT_PWRON_LP, 0, 8000),
};
static struct interrupt_keys_button cardhu_pm298_int_keys[] = {