Permalink
Browse files

Merge pull request #67 from ian-cim/rpi-patches

The TIMER_PERIOD should be calculated using the timer interrupt frequenc...
  • Loading branch information...
2 parents 921a3d1 + b57a8d8 commit 822123d2cac563ce2f1e27ba7374ea4b43a621da @popcornmix popcornmix committed Aug 10, 2012
Showing with 1 addition and 1 deletion.
  1. +1 −1 arch/arm/mach-bcm2708/bcm2708.c
@@ -630,7 +630,7 @@ void __init bcm2708_init(void)
#endif
}
-#define TIMER_PERIOD 10000 /* HZ in microsecs */
+#define TIMER_PERIOD DIV_ROUND_CLOSEST(STC_FREQ_HZ, HZ)
static void timer_set_mode(enum clock_event_mode mode,
struct clock_event_device *clk)

0 comments on commit 822123d

Please sign in to comment.