* [PATCH] input: touchscreen: ti_am335x_tsc: Enable FIFO threshold interrupt on resume
@ 2013-09-23 20:50 Matthias Kaehlcke
0 siblings, 0 replies; only message in thread
From: Matthias Kaehlcke @ 2013-09-23 20:50 UTC (permalink / raw)
To: Dmitry Torokhov, Sebastian Andrzej Siewior, Samuel Ortiz,
Felipe Balbi
Cc: linux-input, linux-kernel
When returning from suspend the FIFO threshold interrupt is
disabled, re-enable it on resume
Signed-off-by: Matthias Kaehlcke <matthias@kaehlcke.net>
---
drivers/input/touchscreen/ti_am335x_tsc.c | 2 ++
1 file changed, 2 insertions(+)
diff --git a/drivers/input/touchscreen/ti_am335x_tsc.c b/drivers/input/touchscreen/ti_am335x_tsc.c
index e1c5300..d86f140 100644
--- a/drivers/input/touchscreen/ti_am335x_tsc.c
+++ b/drivers/input/touchscreen/ti_am335x_tsc.c
@@ -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;
}
--
1.7.9.5
^ permalink raw reply related [flat|nested] only message in thread
only message in thread, other threads:[~2013-09-23 20:50 UTC | newest]
Thread overview: (only message) (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2013-09-23 20:50 [PATCH] input: touchscreen: ti_am335x_tsc: Enable FIFO threshold interrupt on resume Matthias Kaehlcke
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for NNTP newsgroup(s).