Skip to content

Commit

Permalink
ARM: mxs: decrease mxs_clockevent_device.min_delta_ns to 2 clock cycles
Browse files Browse the repository at this point in the history
Signed-off-by: Torben Hohn <torbenh@linutronix.de>
Signed-off-by: Shawn Guo <shawn.guo@linaro.org>
  • Loading branch information
Torben Hohn authored and Shawn Guo committed Feb 5, 2013
1 parent 2fb318f commit 93044fa
Showing 1 changed file with 2 additions and 1 deletion.
3 changes: 2 additions & 1 deletion arch/arm/mach-mxs/timer.c
Original file line number Diff line number Diff line change
Expand Up @@ -207,7 +207,8 @@ static int __init mxs_clockevent_init(struct clk *timer_clk)
mxs_clockevent_device.set_next_event = timrotv1_set_next_event;
mxs_clockevent_device.cpumask = cpumask_of(0);
clockevents_config_and_register(&mxs_clockevent_device,
clk_get_rate(timer_clk), 0xf,
clk_get_rate(timer_clk),
timrot_is_v1() ? 0xf : 0x2,
timrot_is_v1() ? 0xfffe : 0xfffffffe);

return 0;
Expand Down

0 comments on commit 93044fa

Please sign in to comment.