Skip to contentSkip to conversation

mfd: Leave acknowledgement of WM831x touchscreen IRQs to the driver

PATCH In review Mark Brown 2 participants 2 messages Jan 14, 2011 – Jan 30, 2011

Subsystems (2)
lore
Share & tools
lore

Mark Brown

author
#0 lore raw

PATCH 1/1 mfd: Leave acknowledgement of WM831x touchscreen IRQs to the driver

The WM831x touchscreen interrupts need acknowledgement even when using direct signals to the CPU (which don't go through the core) so leave the acknowledgement up to the touchscreen driver for simplicity.

---
 drivers/mfd/wm831x-irq.c |    3 +++
 1 files changed, 3 insertions(+), 0 deletions(-)
drivers/mfd/wm831x-irq.c +3 -0
index 0d3cda4..2f26f80 100644
@@ -481,6 +481,9 @@ static irqreturn_t wm831x_irq_thread(int irq, void *data)
 	}
 
 out:
+	/* Touchscreen interrupts are handled specially in the driver */
+	status_regs[0] &= ~(WM831X_TCHDATA_EINT | WM831X_TCHPD_EINT);
+
 	for (i = 0; i < ARRAY_SIZE(status_regs); i++) {
 		if (status_regs[i])
 			wm831x_reg_write(wm831x, WM831X_INTERRUPT_STATUS_1 + i,
Signature · 1 line
1.7.2.3
#1 lore raw

Hi Mark,

Quoted 3 lines · Mark Brown

The WM831x touchscreen interrupts need acknowledgement even when using direct signals to the CPU (which don't go through the core) so leave the acknowledgement up to the touchscreen driver for simplicity.

Patch applied, thanks.

Cheers,
Samuel.

Signature · 2 lines
Intel Open Source Technology Centre
http://oss.intel.com/