From: viresh.kumar@st.com (viresh kumar)
To: linux-arm-kernel@lists.infradead.org
Subject: [PATCH V5 resend 39/63] SPEAr CPU freq: Adding support for CPU Freq framework
Date: Tue, 15 Feb 2011 14:58:01 +0530 [thread overview]
Message-ID: <4D5A4721.6090602@st.com> (raw)
In-Reply-To: <4D5A4200.3000303@windriver.com>
On 02/15/2011 02:36 PM, stanley.miao wrote:
> Viresh Kumar wrote:
>> > From: Deepak Sikri <deepak.sikri@st.com>
>> >
>> > <snip>
>> > +
>> > + newfreq = clk_round_rate(cpu_clk, spear_cpu_freq[index] * 1000);
>> > + if (newfreq < 0) {
>> > + pr_err("CPU Freq: clk_round_rate failed: %ld\n", newfreq);
>> > + return newfreq;
>> > + }
>> >
> clk_round_rate will call round_rate_index();
> --------------------------
>
> static int
> round_rate_index(struct clk *clk, unsigned long drate, unsigned long *rate)
> {
> unsigned long tmp = 0, prev_rate = 0;
> int index;
>
> if (!clk->calc_rate)
> return -EFAULT;
>
> ------------------------------------------
>
> The cpu_clk don't have calc_rate, clk_round_rate always return fault.
I will resend this patch with this issue resolved.
--
viresh
prev parent reply other threads:[~2011-02-15 9:28 UTC|newest]
Thread overview: 4+ messages / expand[flat|nested] mbox.gz Atom feed top
[not found] <cover.1295581815.git.viresh.kumar@st.com>
2011-01-21 3:53 ` [PATCH V5 resend 39/63] SPEAr CPU freq: Adding support for CPU Freq framework Viresh Kumar
2011-01-21 12:24 ` Jamie Iles
2011-02-15 9:06 ` stanley.miao
2011-02-15 9:28 ` viresh kumar [this message]
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=4D5A4721.6090602@st.com \
--to=viresh.kumar@st.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 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).