input: Monitor both onkey up and down event
authorHaojian Zhuang <haojian.zhuang@gmail.com>
Wed, 8 Sep 2010 13:44:35 +0000 (09:44 -0400)
committerSamuel Ortiz <sameo@linux.intel.com>
Thu, 28 Oct 2010 22:29:46 +0000 (00:29 +0200)
commit2d95ae3bbffe54b2e73e0d291e1d67e09d5e448f
treed02d8d7b29575f7e2acac2dab070ffb8942f2111
parentf5d59fc575e22f54069628586bf4b31c85bb2f31
input: Monitor both onkey up and down event

Remove original 3-second ONKEY event. Detect ONKEY changing event directly.
So both UP and DOWN event of ONKEY in max8925 are monitered.

Signed-off-by: Haojian Zhuang <haojian.zhuang@marvell.com>
Cc: Dmitry Torokhov <dmitry.torokhov@gmail.com>
Signed-off-by: Samuel Ortiz <sameo@linux.intel.com>
drivers/input/misc/max8925_onkey.c
drivers/mfd/max8925-core.c