mirror of https://github.com/hak5/openwrt.git
22 lines
757 B
Diff
22 lines
757 B
Diff
From 2a7f11a3a569159e97b7c5134c4d1f3f5b253637 Mon Sep 17 00:00:00 2001
|
|
From: John Crispin <blogic@openwrt.org>
|
|
Date: Mon, 7 Dec 2015 17:14:42 +0100
|
|
Subject: [PATCH 12/53] arch: mips: fix clock jitter
|
|
|
|
Signed-off-by: John Crispin <blogic@openwrt.org>
|
|
---
|
|
arch/mips/ralink/cevt-rt3352.c | 2 +-
|
|
1 file changed, 1 insertion(+), 1 deletion(-)
|
|
|
|
--- a/arch/mips/ralink/cevt-rt3352.c
|
|
+++ b/arch/mips/ralink/cevt-rt3352.c
|
|
@@ -69,7 +69,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 + delta, sdev->membase + SYSTICK_COMPARE);
|
|
+ iowrite32(count, sdev->membase + SYSTICK_COMPARE);
|
|
|
|
return 0;
|
|
}
|