summaryrefslogtreecommitdiffstats
path: root/drivers/input/touchscreen
diff options
context:
space:
mode:
authorPatil, Rachna <rachna@ti.com>2012-10-16 12:55:41 +0530
committerSamuel Ortiz <sameo@linux.intel.com>2012-11-05 23:50:26 +0100
commitc6e86db2bec56e05c7ad1524ed2273a4cc8e8868 (patch)
treebda8f3b084a66c2abe312f52b4359dd517297f08 /drivers/input/touchscreen
parent30af55f930c2f69d8f3dcd658fb3ee352ebc54c1 (diff)
downloadblackbird-op-linux-c6e86db2bec56e05c7ad1524ed2273a4cc8e8868.tar.gz
blackbird-op-linux-c6e86db2bec56e05c7ad1524ed2273a4cc8e8868.zip
input: TSC: ti_tscadc: Remove definition of End Of Interrupt register
The touchscreen IP uses level sensitive interrupts rather than edge sensitive interrupts and therefore the is no need to use the EOI register to have the module re-strobe the interrupt line if there pending interrupts exist. Signed-off-by: Patil, Rachna <rachna@ti.com> Signed-off-by: Samuel Ortiz <sameo@linux.intel.com>
Diffstat (limited to 'drivers/input/touchscreen')
-rw-r--r--drivers/input/touchscreen/ti_tscadc.c3
1 files changed, 0 insertions, 3 deletions
diff --git a/drivers/input/touchscreen/ti_tscadc.c b/drivers/input/touchscreen/ti_tscadc.c
index 2cc19b09e31c..ec0a442478a8 100644
--- a/drivers/input/touchscreen/ti_tscadc.c
+++ b/drivers/input/touchscreen/ti_tscadc.c
@@ -27,7 +27,6 @@
#include <linux/input/ti_tscadc.h>
#include <linux/delay.h>
-#define REG_IRQEOI 0x020
#define REG_RAWIRQSTATUS 0x024
#define REG_IRQSTATUS 0x028
#define REG_IRQENABLE 0x02C
@@ -330,8 +329,6 @@ static irqreturn_t tscadc_irq(int irq, void *dev)
}
tscadc_writel(ts_dev, REG_IRQSTATUS, irqclr);
- /* check pending interrupts */
- tscadc_writel(ts_dev, REG_IRQEOI, 0x0);
tscadc_writel(ts_dev, REG_SE, STPENB_STEPENB);
return IRQ_HANDLED;
OpenPOWER on IntegriCloud