mirror of
https://github.com/openwrt/openwrt.git
synced 2024-12-20 22:23:27 +00:00
03dd7b6bdb
Signed-off-by: John Crispin <blogic@openwrt.org> SVN-Revision: 45554
12 lines
372 B
Diff
12 lines
372 B
Diff
--- 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;
|
|
}
|