input: gpio-keys: implement debouncing
The gpio-keys driver often generates multiple events on a single buttong
press. Implement debouncing. The default debouncing time is 20ms and can
be configured with the "debounce-interval" device tree property.

Signed-off-by: Sascha Hauer <s.hauer@pengutronix.de>
1 parent 94a4dc0 commit 9d15b9298807283813e0495ccf04c1175d12719f
@Sascha Hauer Sascha Hauer authored on 9 Dec 2015
Showing 1 changed file
View
drivers/input/gpio_keys.c