]> git.baikalelectronics.ru Git - kernel.git/commit
Input: stmpe - bias keypad columns properly
authorLinus Walleij <linus.walleij@linaro.org>
Tue, 16 Dec 2014 06:23:40 +0000 (22:23 -0800)
committerDmitry Torokhov <dmitry.torokhov@gmail.com>
Tue, 16 Dec 2014 06:25:38 +0000 (22:25 -0800)
commitca10822cb080e900e33806e96602944b2a045965
tree04a8e8de26f3db29ef1bf85f8189fb3843732673
parentdb8ed3d271cf0973b5c489bb93e2853975c76e61
Input: stmpe - bias keypad columns properly

All keypad column pins used as inputs should be pulled up on the STMPE24xx,
but this is not done by the current driver.  Add some logic that will do
this properly. The STMPE1601 also has a keypad controller, but explicitly
does *NOT* require you to set up any pull-ups.

Signed-off-by: Linus Walleij <linus.walleij@linaro.org>
Signed-off-by: Dmitry Torokhov <dmitry.torokhov@gmail.com>
drivers/input/keyboard/stmpe-keypad.c