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)
commitc7b4a5d58bffdf3aa7f923319643af0ebf925515
treee84f07099a5be7ca9543a3d5111c74f97045ef80
parent631b16e81eab82e2894425a94c3fc14bf21adb26
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