Input: edt-ft5x06 - do not hardcode interrupt trigger type
authorDmitry Torokhov <dmitry.torokhov@gmail.com>
Sat, 12 Sep 2015 17:11:09 +0000 (10:11 -0700)
committerDmitry Torokhov <dmitry.torokhov@gmail.com>
Mon, 28 Sep 2015 00:34:00 +0000 (17:34 -0700)
commitf0bef75c593391198f2c9f855aae8e994a0e9293
tree97d81d018689055355dd9b48b1c4ed14924aebfd
parent2e23b7a96372f855d4a006e82b183915e249e2ac
Input: edt-ft5x06 - do not hardcode interrupt trigger type

Instead of hardcoding IRQ trigger type to IRQF_TRIGGER_FALLING, let's
respect settings specified in device tree. To be compatible with older
DTSes, if trigger type is not set up in DTS we'll set it to default
(falling edge).

Tested-by: Franklin S Cooper Jr <fcooper@ti.com>
Signed-off-by: Dmitry Torokhov <dmitry.torokhov@gmail.com>
Documentation/devicetree/bindings/input/touchscreen/edt-ft5x06.txt
drivers/input/touchscreen/edt-ft5x06.c