2015-04-21 12:42:42 +00:00
|
|
|
--- a/arch/mips/ralink/cevt-rt3352.c
|
|
|
|
+++ b/arch/mips/ralink/cevt-rt3352.c
|
2015-05-21 19:32:46 +00:00
|
|
|
@@ -54,7 +54,7 @@ static int systick_next_event(unsigned l
|
2015-04-21 12:42:42 +00:00
|
|
|
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;
|
|
|
|
}
|