diff options
author | John Crispin <john@openwrt.org> | 2015-12-17 09:29:22 +0000 |
---|---|---|
committer | John Crispin <john@openwrt.org> | 2015-12-17 09:29:22 +0000 |
commit | d4b8d51580f61bc242b3a51566d2e4afd1f4a150 (patch) | |
tree | 16c7b79fae4831e85c1239d0da5869893f7b65fa /target/linux/brcm2708/patches-4.1/0212-rpi-ft5406-Use-interruptible-sleep-to-avoid-high-loa.patch | |
parent | 98bf3d41207f32bc14ca8b67435ddc75e93b8214 (diff) | |
download | upstream-d4b8d51580f61bc242b3a51566d2e4afd1f4a150.tar.gz upstream-d4b8d51580f61bc242b3a51566d2e4afd1f4a150.tar.bz2 upstream-d4b8d51580f61bc242b3a51566d2e4afd1f4a150.zip |
brcm2708: update 4.1 patches
As usual, this patches were taken (and rebased) from
https://github.com/raspberrypi/linux/commits/rpi-4.1.y
Signed-off-by: Álvaro Fernández Rojas <noltari@gmail.com>
SVN-Revision: 47922
Diffstat (limited to 'target/linux/brcm2708/patches-4.1/0212-rpi-ft5406-Use-interruptible-sleep-to-avoid-high-loa.patch')
-rw-r--r-- | target/linux/brcm2708/patches-4.1/0212-rpi-ft5406-Use-interruptible-sleep-to-avoid-high-loa.patch | 21 |
1 files changed, 21 insertions, 0 deletions
diff --git a/target/linux/brcm2708/patches-4.1/0212-rpi-ft5406-Use-interruptible-sleep-to-avoid-high-loa.patch b/target/linux/brcm2708/patches-4.1/0212-rpi-ft5406-Use-interruptible-sleep-to-avoid-high-loa.patch new file mode 100644 index 0000000000..531fb7be4d --- /dev/null +++ b/target/linux/brcm2708/patches-4.1/0212-rpi-ft5406-Use-interruptible-sleep-to-avoid-high-loa.patch @@ -0,0 +1,21 @@ +From a668e38a52a964834054ee19e6e11e28f71f4172 Mon Sep 17 00:00:00 2001 +From: popcornmix <popcornmix@gmail.com> +Date: Fri, 6 Nov 2015 16:24:59 +0000 +Subject: [PATCH 212/222] rpi-ft5406: Use interruptible sleep to avoid high + load reported + +--- + drivers/input/touchscreen/rpi-ft5406.c | 2 +- + 1 file changed, 1 insertion(+), 1 deletion(-) + +--- a/drivers/input/touchscreen/rpi-ft5406.c ++++ b/drivers/input/touchscreen/rpi-ft5406.c +@@ -65,7 +65,7 @@ static int ft5406_thread(void *arg) + while(!kthread_should_stop()) + { + // 60fps polling +- msleep(17); ++ msleep_interruptible(17); + memcpy_fromio(®s, ts->regs, sizeof(*ts->regs)); + writel(99, &ts->regs->num_points); + // Do not output if theres no new information (num_points is 99) |