]> 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)
commit2f346ca6fd5819bcffd63570c5a86b048152ef4d
tree04a8e8de26f3db29ef1bf85f8189fb3843732673
parent5c9cf00a9070d978604f4bae3b0c79bb155c3a4e
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