]> git.baikalelectronics.ru Git - kernel.git/commit
Input: mpr121 - improve sensibility of touch key
authorJiejing Zhang <jiejing.zhang@freescale.com>
Wed, 29 Jun 2011 08:28:21 +0000 (01:28 -0700)
committerDmitry Torokhov <dmitry.torokhov@gmail.com>
Wed, 29 Jun 2011 08:32:49 +0000 (01:32 -0700)
commitee37be9d7bd94dec9d5b3cf4de55869addf15639
treee84f07099a5be7ca9543a3d5111c74f97045ef80
parentac34b18b420e16b736599f54daab5d5c3f603bc8
Input: mpr121 - improve sensibility of touch key

The Quick Charge bit in Electrode conf register should be set in init
function. This bit was missed in chip's document, which may cause touch
controller charge too slow to generate an interrupt.

Also, adjust the default vlaue of touch and release threshold
to make touch key more sensitive, this fix touch may not sensitive
after setup with plastic case.

Signed-off-by: Jiejing Zhang <jiejing.zhang@freescale.com>
Signed-off-by: Dmitry Torokhov <dtor@mail.ru>
drivers/input/keyboard/mpr121_touchkey.c