commit 92fb432cc5ecfbae847aa23a16abbe77904889b2
parent 598854767a317fb51c7e93decb3ff064fdbd76ab
Author: oblique <psyberbits@gmail.com>
Date: Sun, 28 Oct 2012 02:04:32 +0300
fix a typo (replace microseconds with milliseconds)
Diffstat:
1 file changed, 2 insertions(+), 2 deletions(-)
diff --git a/kernel/dmtimer.c b/kernel/dmtimer.c
@@ -212,7 +212,7 @@ dmtimer_register(int id, dmtimer_callback_func func, u32 ms)
/* enable start-idle */
writel(DMT_1MS_TIOCP_SMARTIDLE, &dmtimers[id].dmt_1ms->tiocp_1ms_cfg);
- /* set microseconds */
+ /* set milliseconds */
val = 0xffffffff;
val -= ms * 32;
writel(val, &dmtimers[id].dmt_1ms->tldr);
@@ -227,7 +227,7 @@ dmtimer_register(int id, dmtimer_callback_func func, u32 ms)
/* enable start-idle */
writel(DMT_TIOCP_SMARTIDLE, &dmtimers[id].dmt->tiocp_cfg);
- /* set microseconds */
+ /* set milliseconds */
val = 0xffffffff;
val -= ms * 32;
writel(val, &dmtimers[id].dmt->tldr);