summaryrefslogtreecommitdiff
path: root/drivers/input/touchscreen/fusion_F0710A.c
diff options
context:
space:
mode:
Diffstat (limited to 'drivers/input/touchscreen/fusion_F0710A.c')
-rw-r--r--drivers/input/touchscreen/fusion_F0710A.c2
1 files changed, 2 insertions, 0 deletions
diff --git a/drivers/input/touchscreen/fusion_F0710A.c b/drivers/input/touchscreen/fusion_F0710A.c
index c5c0f1fc38ea..e9a513426f9e 100644
--- a/drivers/input/touchscreen/fusion_F0710A.c
+++ b/drivers/input/touchscreen/fusion_F0710A.c
@@ -17,6 +17,7 @@
#include <asm/irq.h>
#include <linux/gpio.h>
#include <linux/input/fusion_F0710A.h>
+#include <linux/irq.h>
#include "fusion_F0710A.h"
@@ -335,6 +336,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)
{