]> git.baikalelectronics.ru Git - kernel.git/commit
Input: pixcir_i2c_ts - allow using with GPIO expanders
authorDmitry Torokhov <dmitry.torokhov@gmail.com>
Mon, 6 Jul 2015 20:27:00 +0000 (13:27 -0700)
committerDmitry Torokhov <dmitry.torokhov@gmail.com>
Sun, 12 Jul 2015 00:28:20 +0000 (17:28 -0700)
commit6b9fee1b935cd9b25546136efe0ddbe1d784e421
treeee71e9cd79790fdd7ce7d3515b533211f2ed7721
parent00fcf1f455fc82cef8eaaffaeb515d3a6705459a
Input: pixcir_i2c_ts - allow using with GPIO expanders

We are using threaded interrupt handler and thus are allowed to sleep.
Let's switch over to gpiod_get_value_cansleep() so that we do not get
ugly warnings in case GPIO controller might sleep when accessing GPIO.

Acked-by: Roger Quadros <rogerq@ti.com>
Signed-off-by: Dmitry Torokhov <dmitry.torokhov@gmail.com>
drivers/input/touchscreen/pixcir_i2c_ts.c