input: TSC: ti_tscadc: Remove definition of End Of Interrupt register
authorPatil, Rachna <rachna@ti.com>
Tue, 16 Oct 2012 07:25:41 +0000 (12:55 +0530)
committerSamuel Ortiz <sameo@linux.intel.com>
Mon, 5 Nov 2012 22:50:26 +0000 (23:50 +0100)
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>
drivers/input/touchscreen/ti_tscadc.c

index 2cc19b09e31c94a9b39079809779486d3a382c05..ec0a442478a82fd3810f175e1c17c864b2c8c91a 100644 (file)
@@ -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;
This page took 0.025663 seconds and 5 git commands to generate.