aboutsummaryrefslogtreecommitdiff
path: root/include
diff options
context:
space:
mode:
authorDima Zavin <dima@android.com>2011-12-02 13:59:44 +0800
committerJohn Stultz <john.stultz@linaro.org>2012-02-14 14:28:27 -0800
commit029cc13f78c0e2c18e3fbe1e778696e6fe50f81b (patch)
tree8ff552961ad8ebe18373db43beee4da262a94296 /include
parent93643829b31ddbdd37ca7eaf113f7c0dc43b2af8 (diff)
input: gpio_input: don't print debounce message unless flag is set
Change-Id: I29ccb32e795c5c3e4c51c3d3a209f5b55dfd7d94 Signed-off-by: Dima Zavin <dima@android.com>
Diffstat (limited to 'include')
-rw-r--r--include/linux/gpio_event.h1
1 files changed, 1 insertions, 0 deletions
diff --git a/include/linux/gpio_event.h b/include/linux/gpio_event.h
index 360b4ddb46a..2613fc5e4a9 100644
--- a/include/linux/gpio_event.h
+++ b/include/linux/gpio_event.h
@@ -98,6 +98,7 @@ enum gpio_event_direct_flags {
/* GPIOEDF_USE_IRQ = (1U << 2) | GPIOIDF_USE_DOWN_IRQ, */
GPIOEDF_PRINT_KEYS = 1U << 8,
GPIOEDF_PRINT_KEY_DEBOUNCE = 1U << 9,
+ GPIOEDF_PRINT_KEY_UNSTABLE = 1U << 10,
};
struct gpio_event_direct_entry {