Skip to contentSkip to conversation

input: touchscreen: ti_am335x_tsc: Enable FIFO threshold interrupt on resume

PATCH New Matthias Kaehlcke 1 participant 1 message Sep 23, 2013

Subsystems (2)
lore
Share & tools
lore
#0 lore raw

PATCH 1/1 input: touchscreen: ti_am335x_tsc: Enable FIFO threshold interrupt on resume

When returning from suspend the FIFO threshold interrupt is disabled, re-enable it on resume

---
 drivers/input/touchscreen/ti_am335x_tsc.c |    2 ++
 1 file changed, 2 insertions(+)
drivers/input/touchscreen/ti_am335x_tsc.c +2 -0
index e1c5300..d86f140 100644
@@ -480,6 +480,8 @@ static int titsc_resume(struct device *dev)
 	titsc_step_config(ts_dev);
 	titsc_writel(ts_dev, REG_FIFO0THR,
 			ts_dev->coordinate_readouts * 2 + 2 - 1);
+	titsc_writel(ts_dev, REG_IRQENABLE, IRQENB_FIFO0THRES);
+
 	return 0;
 }
 
Signature · 1 line
1.7.9.5