]> 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)
commitf1359c99405ceb259fd70ee0898f3ee67368de07
treeb624461799165e4ca5a5c3022961fa88179b0012
parent5a72a99147108d2a4337745fa4197cf30787d9f9
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