From: Kevin Hilman <khilman@deeprootsystems.com>
To: Peter 'p2' De Schrijver <peter.de-schrijver@nokia.com>
Cc: linux-omap@vger.kernel.org
Subject: Re: [PATCH 1/2] Fix omap_getspeed.
Date: Mon, 12 Jan 2009 20:38:10 -0800 [thread overview]
Message-ID: <874p03n7m5.fsf@deeprootsystems.com> (raw)
In-Reply-To: <1228231877-18114-2-git-send-email-peter.de-schrijver@nokia.com> (Peter De Schrijver's message of "Tue\, 2 Dec 2008 17\:31\:16 +0200")
Peter,
Can you resend this against pm-next[1] with an updated description.
Thanks,
Kevin
[1] git://git.kernel.org/pub/scm/linux/kernel/git/khilman/linux-omap-pm.git
"Peter 'p2' De Schrijver" <peter.de-schrijver@nokia.com> writes:
> Signed-off-by: Peter 'p2' De Schrijver <peter.de-schrijver@nokia.com>
> ---
> arch/arm/mach-omap2/clock34xx.c | 1 +
> arch/arm/plat-omap/cpu-omap.c | 6 ++++++
> 2 files changed, 7 insertions(+), 0 deletions(-)
>
> diff --git a/arch/arm/mach-omap2/clock34xx.c b/arch/arm/mach-omap2/clock34xx.c
> index f771b56..da27e49 100644
> --- a/arch/arm/mach-omap2/clock34xx.c
> +++ b/arch/arm/mach-omap2/clock34xx.c
> @@ -938,6 +938,7 @@ static int omap3_select_table_rate(struct clk *clk, unsigned long rate)
>
> if (clk == &virt_vdd1_prcm_set) {
> curr_mpu_speed = curr_vdd1_prcm_set->rate;
> + clk->rate = prcm_vdd->rate;
> clk_set_rate(dpll1_clk, prcm_vdd->rate);
> clk_set_rate(dpll2_clk, dsp_opps[index].rate);
> curr_vdd1_prcm_set = prcm_vdd;
> diff --git a/arch/arm/plat-omap/cpu-omap.c b/arch/arm/plat-omap/cpu-omap.c
> index ae0817d..0a7ce46 100644
> --- a/arch/arm/plat-omap/cpu-omap.c
> +++ b/arch/arm/plat-omap/cpu-omap.c
> @@ -146,6 +146,12 @@ static int __init omap_cpu_init(struct cpufreq_policy *policy)
> VERY_HI_RATE) / 1000;
> }
>
> + clk_set_rate(mpu_clk, policy->cpuinfo.max_freq * 1000);
> +
> + policy->min = policy->cpuinfo.min_freq;
> + policy->max = policy->cpuinfo.max_freq;
> + policy->cur = omap_getspeed(0);
> +
> /* FIXME: what's the actual transition time? */
> policy->cpuinfo.transition_latency = 10 * 1000 * 1000;
> return 0;
> --
> 1.5.6.3
>
> --
> To unsubscribe from this list: send the line "unsubscribe linux-omap" in
> the body of a message to majordomo@vger.kernel.org
> More majordomo info at http://vger.kernel.org/majordomo-info.html
prev parent reply other threads:[~2009-01-13 4:38 UTC|newest]
Thread overview: 5+ messages / expand[flat|nested] mbox.gz Atom feed top
2008-12-02 15:31 [PATCH 0/2] Bug fixes for DVFS Peter 'p2' De Schrijver
2008-12-02 15:31 ` [PATCH 1/2] Fix omap_getspeed Peter 'p2' De Schrijver
2008-12-02 15:31 ` [PATCH 2/2] Make sure omap cpufreq driver initializes after cpufreq framework and governors Peter 'p2' De Schrijver
2008-12-02 19:26 ` David Brownell
2009-01-13 4:38 ` Kevin Hilman [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=874p03n7m5.fsf@deeprootsystems.com \
--to=khilman@deeprootsystems.com \
--cc=linux-omap@vger.kernel.org \
--cc=peter.de-schrijver@nokia.com \
/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.