]> git.baikalelectronics.ru Git - kernel.git/commit
Input: adp5589 - fix row 5 handling for adp5589
authorLars-Peter Clausen <lars@metafoo.de>
Tue, 9 Feb 2016 17:35:33 +0000 (09:35 -0800)
committerDmitry Torokhov <dmitry.torokhov@gmail.com>
Tue, 9 Feb 2016 23:36:21 +0000 (15:36 -0800)
commit7ac2e0b6ffa4a6c268169fa875a2355bb49a879e
tree5cbcf9b13847f593ef9267efa1cf96ab6829272f
parent412d131fc49d1a2bb69d7cf770d88dece01cf86d
Input: adp5589 - fix row 5 handling for adp5589

The adp5589 has row 5, don't skip it when creating the GPIO mapping.
Otherwise the pin gets reserved as used and it is not possible to use it as
a GPIO.

Signed-off-by: Lars-Peter Clausen <lars@metafoo.de>
Acked-by: Michael Hennerich <michael.hennerich@analog.com>
Signed-off-by: Dmitry Torokhov <dmitry.torokhov@gmail.com>
drivers/input/keyboard/adp5589-keys.c