summaryrefslogtreecommitdiff
path: root/include/linux/input
diff options
context:
space:
mode:
authorFranklin S Cooper Jr <fcooper@ti.com>2015-09-11 17:30:34 -0700
committerDmitry Torokhov <dmitry.torokhov@gmail.com>2015-09-27 17:33:58 -0700
commit13c23cd18bd12ddbf00beddd136e3cd33b4f2dfa (patch)
treeee8fb29e6b3d24054b9010f908880e0e4af0de42 /include/linux/input
parentc5c18a06af753eab1162fcdfb1cf03581e70b3f4 (diff)
Input: edt-ft5x06 - switch to newer gpio framework
The current/old gpio framework used doesn't properly listen to ACTIVE_LOW and ACTIVE_HIGH flags. The newer gpio framework takes into account these flags when setting gpio values. Since the values being output were based on voltage and not logic they change to reflect this difference. Also use gpiod_set_value_cansleep since wake and reset pins can be provided by bus based io expanders. Switch from msleep(5) to udelay_range(5000,6000) to avoid check patch warning. Signed-off-by: Franklin S Cooper Jr <fcooper@ti.com> Signed-off-by: Dmitry Torokhov <dmitry.torokhov@gmail.com>
Diffstat (limited to 'include/linux/input')
-rw-r--r--include/linux/input/edt-ft5x06.h3
1 files changed, 0 insertions, 3 deletions
diff --git a/include/linux/input/edt-ft5x06.h b/include/linux/input/edt-ft5x06.h
index 8a1e0d1a0124..5ca5b4cc308c 100644
--- a/include/linux/input/edt-ft5x06.h
+++ b/include/linux/input/edt-ft5x06.h
@@ -10,9 +10,6 @@
*/
struct edt_ft5x06_platform_data {
- int irq_pin;
- int reset_pin;
-
/* startup defaults for operational parameters */
bool use_parameters;
u8 gain;