diff options
-rw-r--r-- | drivers/input/touchscreen/ti_am335x_tsc.c | 6 |
1 files changed, 6 insertions, 0 deletions
diff --git a/drivers/input/touchscreen/ti_am335x_tsc.c b/drivers/input/touchscreen/ti_am335x_tsc.c index 1bceb2591fc7..2ba77039ab91 100644 --- a/drivers/input/touchscreen/ti_am335x_tsc.c +++ b/drivers/input/touchscreen/ti_am335x_tsc.c | |||
@@ -308,6 +308,12 @@ static irqreturn_t titsc_irq(int irq, void *dev) | |||
308 | irqclr |= IRQENB_PENUP; | 308 | irqclr |= IRQENB_PENUP; |
309 | } | 309 | } |
310 | 310 | ||
311 | if (status & IRQENB_HW_PEN) { | ||
312 | |||
313 | titsc_writel(ts_dev, REG_IRQWAKEUP, 0x00); | ||
314 | titsc_writel(ts_dev, REG_IRQCLR, IRQENB_HW_PEN); | ||
315 | } | ||
316 | |||
311 | titsc_writel(ts_dev, REG_IRQSTATUS, irqclr); | 317 | titsc_writel(ts_dev, REG_IRQSTATUS, irqclr); |
312 | 318 | ||
313 | am335x_tsc_se_update(ts_dev->mfd_tscadc); | 319 | am335x_tsc_se_update(ts_dev->mfd_tscadc); |