]> git.baikalelectronics.ru Git - kernel.git/commit
Input: stmpe-keypad - fix valid key line bitmask
authorLinus Walleij <linus.walleij@linaro.org>
Fri, 24 Oct 2014 21:36:54 +0000 (14:36 -0700)
committerDmitry Torokhov <dmitry.torokhov@gmail.com>
Fri, 24 Oct 2014 21:54:45 +0000 (14:54 -0700)
commit2eeb1424b319fb8b28247e8d286f86db5c973979
treeb624461799165e4ca5a5c3022961fa88179b0012
parent91261b1df318c5387cd7c2e2678d7f529bc1533d
Input: stmpe-keypad - fix valid key line bitmask

The bitmask comment says it will enable GPIO 8-14 and 16-20 for keypad use,
but it actually enables GPIO 8-11 and 13-20 due to a bit error.

Instead of masking of the "hole" at GPIO 12 (which is used for keypad
output 4) mask of the proper "hole" at GPIO 15.

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