aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorTorben Hohn <torbenh@linutronix.de>2012-12-21 09:06:16 -0500
committerShawn Guo <shawn.guo@linaro.org>2013-02-04 22:27:49 -0500
commit93044fa1527518cfba022b62d2c4b407891d1ff7 (patch)
treefff4e768625262a9a8ecc0ea80a01d0f8bdeecb2
parent2fb318ff75d7c4d5ccc418ab4dcce19aa40fc059 (diff)
ARM: mxs: decrease mxs_clockevent_device.min_delta_ns to 2 clock cycles
Signed-off-by: Torben Hohn <torbenh@linutronix.de> Signed-off-by: Shawn Guo <shawn.guo@linaro.org>
-rw-r--r--arch/arm/mach-mxs/timer.c3
1 files changed, 2 insertions, 1 deletions
diff --git a/arch/arm/mach-mxs/timer.c b/arch/arm/mach-mxs/timer.c
index 1f8ec8cd9182..421020498a1b 100644
--- a/arch/arm/mach-mxs/timer.c
+++ b/arch/arm/mach-mxs/timer.c
@@ -207,7 +207,8 @@ static int __init mxs_clockevent_init(struct clk *timer_clk)
207 mxs_clockevent_device.set_next_event = timrotv1_set_next_event; 207 mxs_clockevent_device.set_next_event = timrotv1_set_next_event;
208 mxs_clockevent_device.cpumask = cpumask_of(0); 208 mxs_clockevent_device.cpumask = cpumask_of(0);
209 clockevents_config_and_register(&mxs_clockevent_device, 209 clockevents_config_and_register(&mxs_clockevent_device,
210 clk_get_rate(timer_clk), 0xf, 210 clk_get_rate(timer_clk),
211 timrot_is_v1() ? 0xf : 0x2,
211 timrot_is_v1() ? 0xfffe : 0xfffffffe); 212 timrot_is_v1() ? 0xfffe : 0xfffffffe);
212 213
213 return 0; 214 return 0;