]> Pileus Git - ~andy/linux/commitdiff
ARM: mxs: decrease mxs_clockevent_device.min_delta_ns to 2 clock cycles
authorTorben Hohn <torbenh@linutronix.de>
Fri, 21 Dec 2012 14:06:16 +0000 (15:06 +0100)
committerShawn Guo <shawn.guo@linaro.org>
Tue, 5 Feb 2013 03:27:49 +0000 (11:27 +0800)
Signed-off-by: Torben Hohn <torbenh@linutronix.de>
Signed-off-by: Shawn Guo <shawn.guo@linaro.org>
arch/arm/mach-mxs/timer.c

index 1f8ec8cd91823aaa251f78a08bb462e35460db85..421020498a1b3a01d6f5cb761d25169ffcb294dd 100644 (file)
@@ -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;