summaryrefslogtreecommitdiff
path: root/drivers/input/touchscreen/fusion_F0710A.c
diff options
context:
space:
mode:
authorStefan Agner <stefan.agner@toradex.com>2014-12-16 10:24:29 +0100
committerPhilippe Schenker <philippe.schenker@toradex.com>2020-08-13 16:04:31 +0200
commitfd80e8420e2c12f8977bb65ddb43fa5e114dc7fe (patch)
treef70aa7b5275fdf10e48fc86158846c6d774a9cda /drivers/input/touchscreen/fusion_F0710A.c
parent51c6882c03c659440eb5ffcde9a74323e411b6c0 (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. Signed-off-by: Stefan Agner <stefan.agner@toradex.com> Acked-by: Max Krummenacher <max.krummenacher@toradex.com> (cherry picked from commit bca32cdab5a08c359f64790d4f9be15d912b0842) (cherry picked from commit 5be4f48a1910f1593448719a52ce87a886af9a99) (cherry picked from commit 1e80b839ae79cfd1b4b91e28d55d41658cc267f8)
Diffstat (limited to 'drivers/input/touchscreen/fusion_F0710A.c')
-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 7870db3907ec..cba0c8af1436 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)
{