Author: blogic
Date: 2015-04-21 14:42:42 +0200 (Tue, 21 Apr 2015)
New Revision: 45554

Added:
   trunk/target/linux/ramips/patches-3.18/0063-cevt-rt3352.patch
Log:
ralink: the systick clocksource was calculating a bad bogo mips value

Signed-off-by: John Crispin <[email protected]>

Added: trunk/target/linux/ramips/patches-3.18/0063-cevt-rt3352.patch
===================================================================
--- trunk/target/linux/ramips/patches-3.18/0063-cevt-rt3352.patch               
                (rev 0)
+++ trunk/target/linux/ramips/patches-3.18/0063-cevt-rt3352.patch       
2015-04-21 12:42:42 UTC (rev 45554)
@@ -0,0 +1,11 @@
+--- a/arch/mips/ralink/cevt-rt3352.c
++++ b/arch/mips/ralink/cevt-rt3352.c
+@@ -54,7 +54,7 @@
+       sdev = container_of(evt, struct systick_device, dev);
+       count = ioread32(sdev->membase + SYSTICK_COUNT);
+       count = (count + delta) % SYSTICK_FREQ;
+-      iowrite32(count + delta, sdev->membase + SYSTICK_COMPARE);
++      iowrite32(count, sdev->membase + SYSTICK_COMPARE);
+ 
+       return 0;
+ }
_______________________________________________
openwrt-commits mailing list
[email protected]
https://lists.openwrt.org/cgi-bin/mailman/listinfo/openwrt-commits

Reply via email to