提交 df508450 编写于 作者: M Mark Brown 提交者: Samuel Ortiz

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.
Signed-off-by: NMark Brown <broonie@opensource.wolfsonmicro.com>
Signed-off-by: NSamuel Ortiz <sameo@linux.intel.com>
上级 6447f55d
...@@ -481,6 +481,9 @@ static irqreturn_t wm831x_irq_thread(int irq, void *data) ...@@ -481,6 +481,9 @@ static irqreturn_t wm831x_irq_thread(int irq, void *data)
} }
out: 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++) { for (i = 0; i < ARRAY_SIZE(status_regs); i++) {
if (status_regs[i]) if (status_regs[i])
wm831x_reg_write(wm831x, WM831X_INTERRUPT_STATUS_1 + i, wm831x_reg_write(wm831x, WM831X_INTERRUPT_STATUS_1 + i,
......
Markdown is supported
0% .
You are about to add 0 people to the discussion. Proceed with caution.
先完成此消息的编辑!
想要评论请 注册