summaryrefslogtreecommitdiffstats
path: root/target/linux/ramips/patches-3.18/0066-cevt.patch
diff options
context:
space:
mode:
authorJohn Crispin <john@openwrt.org>2015-08-17 06:18:30 +0000
committerJohn Crispin <john@openwrt.org>2015-08-17 06:18:30 +0000
commitaa4c6e27b42b4c4be07462c7e951a694fe38f500 (patch)
treeb463a0a8cb4d81b35986046050a3b068d2f31054 /target/linux/ramips/patches-3.18/0066-cevt.patch
parentb0b59a8e75242f1b9715dabf834df97d48d42cbc (diff)
downloadmaster-31e0f0ae-aa4c6e27b42b4c4be07462c7e951a694fe38f500.tar.gz
master-31e0f0ae-aa4c6e27b42b4c4be07462c7e951a694fe38f500.tar.bz2
master-31e0f0ae-aa4c6e27b42b4c4be07462c7e951a694fe38f500.zip
ramips: reorder patches
Signed-off-by: John Crispin <blogic@openwrt.org> SVN-Revision: 46659
Diffstat (limited to 'target/linux/ramips/patches-3.18/0066-cevt.patch')
-rw-r--r--target/linux/ramips/patches-3.18/0066-cevt.patch12
1 files changed, 12 insertions, 0 deletions
diff --git a/target/linux/ramips/patches-3.18/0066-cevt.patch b/target/linux/ramips/patches-3.18/0066-cevt.patch
new file mode 100644
index 0000000000..192afe4b8a
--- /dev/null
+++ b/target/linux/ramips/patches-3.18/0066-cevt.patch
@@ -0,0 +1,12 @@
+--- a/arch/mips/ralink/cevt-rt3352.c
++++ b/arch/mips/ralink/cevt-rt3352.c
+@@ -53,8 +53,7 @@ static int systick_next_event(unsigned l
+
+ sdev = container_of(evt, struct systick_device, dev);
+ count = ioread32(sdev->membase + SYSTICK_COUNT);
+- count = (count + delta) % SYSTICK_FREQ;
+- iowrite32(count, sdev->membase + SYSTICK_COMPARE);
++ iowrite32(count + delta, sdev->membase + SYSTICK_COMPARE);
+
+ return 0;
+ }