summaryrefslogtreecommitdiff
path: root/drivers
diff options
context:
space:
mode:
authorStefan Agner <stefan.agner@toradex.com>2014-12-16 10:24:29 +0100
committerMax Krummenacher <max.krummenacher@toradex.com>2016-06-28 11:10:26 +0200
commitbca32cdab5a08c359f64790d4f9be15d912b0842 (patch)
tree614a00f56075e6da272af71501a4c1bd803c9547 /drivers
parent577474209d954111002d360493ab418fde256668 (diff)
input: touchscreen: fusion: use level triggered interrupt
Use level triggered interrupt which makes sure that even we miss a rising edge (due to latencies in the kernel), the interrupt still will be handled later, and doesn't freeze the input device.
Diffstat (limited to 'drivers')
-rw-r--r--drivers/input/touchscreen/fusion_F0710A.c1
1 files changed, 1 insertions, 0 deletions
diff --git a/drivers/input/touchscreen/fusion_F0710A.c b/drivers/input/touchscreen/fusion_F0710A.c
index ec02d07a16cd..48b8808e367e 100644
--- a/drivers/input/touchscreen/fusion_F0710A.c
+++ b/drivers/input/touchscreen/fusion_F0710A.c
@@ -347,6 +347,7 @@ static int fusion_F0710A_probe(struct i2c_client *i2c, const struct i2c_device_i
/* Use Pen Down GPIO as sampling interrupt */
i2c->irq = gpio_to_irq(pdata->gpio_int);
+ irq_set_irq_type(i2c->irq, IRQ_TYPE_LEVEL_HIGH);
if(!i2c->irq)
{