0063-cevt-rt3352.patch 413 B

1234567891011
  1. --- a/arch/mips/ralink/cevt-rt3352.c
  2. +++ b/arch/mips/ralink/cevt-rt3352.c
  3. @@ -54,7 +54,7 @@ static int systick_next_event(unsigned l
  4. sdev = container_of(evt, struct systick_device, dev);
  5. count = ioread32(sdev->membase + SYSTICK_COUNT);
  6. count = (count + delta) % SYSTICK_FREQ;
  7. - iowrite32(count + delta, sdev->membase + SYSTICK_COMPARE);
  8. + iowrite32(count, sdev->membase + SYSTICK_COMPARE);
  9. return 0;
  10. }