From ecf0ae43e73bf20fee834f6127eb6e8ccfb3d5df Mon Sep 17 00:00:00 2001 From: Laxman Dewangan Date: Tue, 15 Nov 2011 21:07:12 +0530 Subject: 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 Reviewed-on: http://git-master/r/65805 Reviewed-by: Varun Colbert Tested-by: Varun Colbert Rebase-Id: R7f958a5d99de7dc354d807acd75bc319cfe87b30 --- arch/arm/mach-tegra/board-cardhu-kbc.c | 1 - 1 file changed, 1 deletion(-) (limited to 'arch/arm/mach-tegra') 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[] = { -- cgit v1.2.3