Input: eeti_ts - use gpio_get_value_cansleep
authorDmitry Torokhov <dmitry.torokhov@gmail.com>
Tue, 21 Feb 2017 07:13:45 +0000 (23:13 -0800)
committerDmitry Torokhov <dmitry.torokhov@gmail.com>
Mon, 3 Apr 2017 23:24:33 +0000 (16:24 -0700)
commit173e4d81f76c948acbb49f3900f3ca3f279c5c2a
tree734f7f6b2f73e109eba05efc36249fe2ead3c0cd
parent2d3884998945cf3f995e9c2e0f157b59f4ec3e86
Input: eeti_ts - use gpio_get_value_cansleep

We are reading GPIO state in a non-atomic context (workqueue), so we can
use "cansleep" variant, and thus make the driver available on systems where
GPIO controllers require sleeping when reading GPIO state.

Reviewed-by: Daniel Mack <daniel@zonque.org>
Signed-off-by: Dmitry Torokhov <dmitry.torokhov@gmail.com>
drivers/input/touchscreen/eeti_ts.c