ARM: tegra: KBC: Remove power key mapping as GPIO
aghuge [Thu, 8 Nov 2012 05:03:18 +0000 (10:03 +0530)]
Removing explicit mapping of power key to GPIO_IKEY
This mapping affects the long press key detection of
power key.

Bug 1157347

Change-Id: I4ac222d5907a6f9653c76ee19e97c63afcfe384e
Signed-off-by: aghuge <aghuge@nvidia.com>
Reviewed-on: http://git-master/r/162255
Reviewed-by: Automatic_Commit_Validation_User
Reviewed-by: Laxman Dewangan <ldewangan@nvidia.com>
GVS: Gerrit_Virtual_Submit

arch/arm/mach-tegra/board-dalmore-kbc.c

index 29c39d6..9a08b60 100644 (file)
@@ -94,9 +94,7 @@ static struct gpio_keys_button dalmore_int_keys[] = {
 };
 
 static struct gpio_keys_button dalmore_e1611_int_keys[] = {
-       [0] = GPIO_IKEY(KEY_POWER, PALMAS_TEGRA_IRQ_BASE +
-                               PALMAS_PWRON_IRQ, 1, 100),
-       [1] = {
+       [0] = {
                .code = SW_LID,
                .gpio = TEGRA_GPIO_HALL,
                .irq = -1,