From: torbenh@linutronix.de (Torben Hohn)
To: linux-arm-kernel@lists.infradead.org
Subject: [PATCH 2/2] mxs timer: decrease mxs_clockevent_device.min_delta_ns to 2 clock cycles
Date: Fri, 21 Dec 2012 15:06:16 +0100 [thread overview]
Message-ID: <1356098776-10498-3-git-send-email-torbenh@linutronix.de> (raw)
In-Reply-To: <1356098776-10498-1-git-send-email-torbenh@linutronix.de>
Signed-off-by: Torben Hohn <torbenh@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
next prev parent reply other threads:[~2012-12-21 14:06 UTC|newest]
Thread overview: 5+ messages / expand[flat|nested] mbox.gz Atom feed top
2012-12-21 14:06 Improve timer Resolution on imx28 Torben Hohn
2012-12-21 14:06 ` [PATCH 1/2] mxs timer: use ahbx bus clock to drive the timers on timrotv2 Torben Hohn
2012-12-25 14:10 ` Shawn Guo
2012-12-21 14:06 ` Torben Hohn [this message]
2012-12-21 14:52 ` Improve timer Resolution on imx28 Marek Vasut
Reply instructions:
You may reply publicly to this message via plain-text email
using any one of the following methods:
* Save the following mbox file, import it into your mail client,
and reply-to-all from there: mbox
Avoid top-posting and favor interleaved quoting:
https://en.wikipedia.org/wiki/Posting_style#Interleaved_style
* Reply using the --to, --cc, and --in-reply-to
switches of git-send-email(1):
git send-email \
--in-reply-to=1356098776-10498-3-git-send-email-torbenh@linutronix.de \
--to=torbenh@linutronix.de \
--cc=linux-arm-kernel@lists.infradead.org \
/path/to/YOUR_REPLY
https://kernel.org/pub/software/scm/git/docs/git-send-email.html
* If your mail client supports setting the In-Reply-To header
via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line
before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for NNTP newsgroup(s).