]> 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)
commitc08dc917fb791457e5abbc7864a977a01bcc9f2e
treee84f07099a5be7ca9543a3d5111c74f97045ef80
parent031ff7776e97611f55d6e35f6bb09fcf65c4c958
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