summaryrefslogtreecommitdiff
path: root/include
diff options
context:
space:
mode:
authorDima Zavin <dima@android.com>2011-12-02 13:59:44 +0800
committerAndy Green <andy.green@linaro.org>2011-12-02 13:59:44 +0800
commitdfdd8594108e4edfa5e5ac22fff99e12cc87f40d (patch)
treef899ccab38a49163a3688e37026aa8d1ffa04835 /include
parent22caf1b5f430f24c7f47e20d92d2c4492ea80a9a (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 {