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>2012-03-23 19:57:40 -0700
commitecf0ae43e73bf20fee834f6127eb6e8ccfb3d5df (patch)
treebb8272dbd323fe3a1d528260a8b9e3f40efea461 /arch/arm/mach-tegra/board-cardhu-kbc.c
parentb2b4af23866dd4a0f6885514dd344299b21b0870 (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[] = {