You can not select more than 25 topics
Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
14 lines
595 B
14 lines
595 B
Index: linux-3.18.16/arch/mips/ralink/cevt-rt3352.c
|
|
===================================================================
|
|
--- linux-3.18.16.orig/arch/mips/ralink/cevt-rt3352.c 2015-06-14 09:10:18.544132719 +0200
|
|
+++ linux-3.18.16/arch/mips/ralink/cevt-rt3352.c 2015-06-18 13:30:04.830117077 +0200
|
|
@@ -53,8 +53,7 @@
|
|
|
|
sdev = container_of(evt, struct systick_device, dev);
|
|
count = ioread32(sdev->membase + SYSTICK_COUNT);
|
|
- count = (count + delta) % SYSTICK_FREQ;
|
|
- iowrite32(count, sdev->membase + SYSTICK_COMPARE);
|
|
+ iowrite32(count + delta, sdev->membase + SYSTICK_COMPARE);
|
|
|
|
return 0;
|
|
}
|
|
|