]> git.karo-electronics.de Git - karo-tx-linux.git/commit
ENGR00219856-1 mx6q sabresd: add debounce to gpio key
authorXinyu Chen <xinyu.chen@freescale.com>
Wed, 15 Aug 2012 05:32:06 +0000 (13:32 +0800)
committerOliver Wendt <ow@karo-electronics.de>
Mon, 30 Sep 2013 12:12:42 +0000 (14:12 +0200)
commit76fb734a528a0b95326b92699aed4429690c2136
treee488bbf80d7ebae0984d7d2a10ff1aeb662bb1cb
parent1a5b5c38067dda0562b2802e15ee9f3cd0d623d7
ENGR00219856-1 mx6q sabresd: add debounce to gpio key

Add a 1ms debounce to the gpio key to avoid
unexpected gpio status read from gpio_key driver's
workqueue. This issue happens on android's resume stage,
sometimes the framework get more than one up key even
user press the power key once.

Signed-off-by: Xinyu Chen <xinyu.chen@freescale.com>
arch/arm/mach-mx6/board-mx6q_sabresd.c