aboutsummaryrefslogtreecommitdiffstats
path: root/target/linux/ramips/patches-3.18/0063-cevt-rt3352.patch
blob: 749701f2e56a73e519db5a7c73047fc0f0d8899a (plain)
1
2
3
4
5
6
7
8
9
10
11
--- a/arch/mips/ralink/cevt-rt3352.c
+++ b/arch/mips/ralink/cevt-rt3352.c
@@ -54,7 +54,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;
 }