From 4ed2b35d8683be5fc5cebb921412373841cd73a3 Mon Sep 17 00:00:00 2001 From: John Crispin Date: Tue, 21 Apr 2015 12:42:42 +0000 Subject: ralink: the systick clocksource was calculating a bad bogo mips value Signed-off-by: John Crispin git-svn-id: svn://svn.openwrt.org/openwrt/trunk@45554 3c298f89-4303-0410-b956-a3cf2f4a3e73 --- target/linux/ramips/patches-3.18/0063-cevt-rt3352.patch | 11 +++++++++++ 1 file changed, 11 insertions(+) create mode 100644 target/linux/ramips/patches-3.18/0063-cevt-rt3352.patch (limited to 'target') diff --git a/target/linux/ramips/patches-3.18/0063-cevt-rt3352.patch b/target/linux/ramips/patches-3.18/0063-cevt-rt3352.patch new file mode 100644 index 0000000000..daf8be1360 --- /dev/null +++ b/target/linux/ramips/patches-3.18/0063-cevt-rt3352.patch @@ -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; + } -- cgit v1.2.3