From 45335578295481509e8c68b607b48507629fe823 Mon Sep 17 00:00:00 2001 From: Patrick Tjin <pattjin@google.com> Date: Fri, 14 Aug 2015 09:43:23 -0700 Subject: [PATCH] Revert "flo/deb: keypad: set powerkey button to have reset notification" This reverts commit 077e2228daf0c09da0220c922489d6be46408289. --- arch/arm/mach-msm/asustek/asustek-keypad.c | 10 ++++------ 1 file changed, 4 insertions(+), 6 deletions(-) diff --git a/arch/arm/mach-msm/asustek/asustek-keypad.c b/arch/arm/mach-msm/asustek/asustek-keypad.c index 476992b76a29..18a84708a99d 100644 --- a/arch/arm/mach-msm/asustek/asustek-keypad.c +++ b/arch/arm/mach-msm/asustek/asustek-keypad.c @@ -36,7 +36,7 @@ #define GPIO_PM8921_KEY2_VOLUME_UP PM8921_GPIO_PM_TO_SYS(4) #define GPIO_PM8921_KEY2_VOLUME_DOWN GPIO_PM8921_KEY_VOLUME_DOWN -#define GPIO_KEY(_id, _iswake, _isreset) \ +#define GPIO_KEY(_id, _iswake) \ { \ .code = _id, \ .gpio = GPIO_##_id, \ @@ -45,14 +45,12 @@ .type = EV_KEY, \ .wakeup = _iswake, \ .debounce_interval = 5, \ - .can_reset= _isreset, \ - .reset_interval= 7000, \ } static struct gpio_keys_button asustek_keys[] = { - [0] = GPIO_KEY(KEY_POWER, 1, 1), - [1] = GPIO_KEY(KEY_VOLUMEUP, 0, 0), - [2] = GPIO_KEY(KEY_VOLUMEDOWN, 0, 0), + [0] = GPIO_KEY(KEY_POWER, 1), + [1] = GPIO_KEY(KEY_VOLUMEUP, 0), + [2] = GPIO_KEY(KEY_VOLUMEDOWN, 0), }; static struct gpio_keys_platform_data asustek_keys_platform_data = { -- GitLab