1 From a668e38a52a964834054ee19e6e11e28f71f4172 Mon Sep 17 00:00:00 2001
2 From: popcornmix <popcornmix@gmail.com>
3 Date: Fri, 6 Nov 2015 16:24:59 +0000
4 Subject: [PATCH 212/222] rpi-ft5406: Use interruptible sleep to avoid high
8 drivers/input/touchscreen/rpi-ft5406.c | 2 +-
9 1 file changed, 1 insertion(+), 1 deletion(-)
11 --- a/drivers/input/touchscreen/rpi-ft5406.c
12 +++ b/drivers/input/touchscreen/rpi-ft5406.c
13 @@ -65,7 +65,7 @@ static int ft5406_thread(void *arg)
14 while(!kthread_should_stop())
18 + msleep_interruptible(17);
19 memcpy_fromio(®s, ts->regs, sizeof(*ts->regs));
20 writel(99, &ts->regs->num_points);
21 // Do not output if theres no new information (num_points is 99)