]> git.baikalelectronics.ru Git - kernel.git/commit
Input: zforce - don't invert the interrupt GPIO
authorDirk Behme <dirk.behme@de.bosch.com>
Mon, 20 Jul 2015 16:50:37 +0000 (09:50 -0700)
committerDmitry Torokhov <dmitry.torokhov@gmail.com>
Mon, 20 Jul 2015 16:57:19 +0000 (09:57 -0700)
commit9f3c56dcfb54e8c3ba243719646a8dbab3632054
tree2b89ee07b9cd0ec3e9dfeae1fae93b3fa5786958
parent802fe695f4452904144e59a425521db10dbd534d
Input: zforce - don't invert the interrupt GPIO

Commit f1bf3481f075 ("Input: zforce_ts - convert to use the gpiod
interface") converted this driver to use the gpiod functions. These
functions take the active low property into account, so we don't have
to invert the result of gpiod_get_value_cansleep(). This has been
missed in that commit. Fix it.

Signed-off-by: Dirk Behme <dirk.behme@de.bosch.com>
Signed-off-by: Dmitry Torokhov <dmitry.torokhov@gmail.com>
drivers/input/touchscreen/zforce_ts.c