From: voice.shen@atmel.com (Bo Shen)
To: linux-arm-kernel@lists.infradead.org
Subject: [RFC PATCH] clock: correct the comparison parameter of MHz
Date: Wed, 7 Aug 2013 16:08:06 +0800 [thread overview]
Message-ID: <52020066.3050500@atmel.com> (raw)
In-Reply-To: <20130807080253.GE23006@n2100.arm.linux.org.uk>
Hi Russell King,
On 8/7/2013 16:02, Russell King - ARM Linux wrote:
> On Wed, Aug 07, 2013 at 03:47:40PM +0800, Bo Shen wrote:
>> correct the comparison parameter of MHz from 4,000,000 to 1,000,000
>
> You're assuming this wasn't intentional. As the division by 1000000
> ends up losing the fractional rate, I decided to leave 1-4MHz as kHz,
> so something like 1.832MHz would be displayed as 1832kHz and not
> 1MHz.
Thanks for clarification of this. Now, it is better for me to understand
this piece of code.
Best Regards,
Bo Shen
WARNING: multiple messages have this Message-ID (diff)
From: Bo Shen <voice.shen@atmel.com>
To: Russell King - ARM Linux <linux@arm.linux.org.uk>
Cc: Stephen Boyd <sboyd@codeaurora.org>,
John Stultz <john.stultz@linaro.org>,
Will Deacon <will.deacon@arm.com>,
Rob Herring <rob.herring@calxeda.com>,
<linux-kernel@vger.kernel.org>,
<linux-arm-kernel@lists.infradead.org>
Subject: Re: [RFC PATCH] clock: correct the comparison parameter of MHz
Date: Wed, 7 Aug 2013 16:08:06 +0800 [thread overview]
Message-ID: <52020066.3050500@atmel.com> (raw)
In-Reply-To: <20130807080253.GE23006@n2100.arm.linux.org.uk>
Hi Russell King,
On 8/7/2013 16:02, Russell King - ARM Linux wrote:
> On Wed, Aug 07, 2013 at 03:47:40PM +0800, Bo Shen wrote:
>> correct the comparison parameter of MHz from 4,000,000 to 1,000,000
>
> You're assuming this wasn't intentional. As the division by 1000000
> ends up losing the fractional rate, I decided to leave 1-4MHz as kHz,
> so something like 1.832MHz would be displayed as 1832kHz and not
> 1MHz.
Thanks for clarification of this. Now, it is better for me to understand
this piece of code.
Best Regards,
Bo Shen
next prev parent reply other threads:[~2013-08-07 8:08 UTC|newest]
Thread overview: 6+ messages / expand[flat|nested] mbox.gz Atom feed top
2013-08-07 7:47 [RFC PATCH] clock: correct the comparison parameter of MHz Bo Shen
2013-08-07 7:47 ` Bo Shen
2013-08-07 8:02 ` Russell King - ARM Linux
2013-08-07 8:02 ` Russell King - ARM Linux
2013-08-07 8:08 ` Bo Shen [this message]
2013-08-07 8:08 ` Bo Shen
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=52020066.3050500@atmel.com \
--to=voice.shen@atmel.com \
--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 an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.