[PATCH 2/2] mxs timer: decrease mxs_clockevent_device.min_delta_ns to 2 clock cycles

Torben Hohn torbenh at linutronix.de
Fri Dec 21 09:06:16 EST 2012


Signed-off-by: Torben Hohn <torbenh at linutronix.de>
---
 arch/arm/mach-mxs/timer.c |    2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/arch/arm/mach-mxs/timer.c b/arch/arm/mach-mxs/timer.c
index 689a2b5..cf45e0a 100644
--- a/arch/arm/mach-mxs/timer.c
+++ b/arch/arm/mach-mxs/timer.c
@@ -219,7 +219,7 @@ static int __init mxs_clockevent_init(struct clk *timer_clk)
 		mxs_clockevent_device.max_delta_ns =
 			clockevent_delta2ns(0xfffffffe, &mxs_clockevent_device);
 		mxs_clockevent_device.min_delta_ns =
-			clockevent_delta2ns(0xf, &mxs_clockevent_device);
+			clockevent_delta2ns(0x2, &mxs_clockevent_device);
 	}
 
 	clockevents_register_device(&mxs_clockevent_device);
-- 
1.7.10.4




More information about the linux-arm-kernel mailing list