Messages in this thread | | | Date | Sat, 17 May 2014 10:22:02 +0530 | Subject | Re: [PATCH V2 3/3] cpufreq: Tegra: implement intermediate frequency callbacks | From | Viresh Kumar <> |
| |
On 17 May 2014 01:09, Stephen Warren <swarren@wwwdotorg.org> wrote: >> static int >> tegra_target_intermediate(struct cpufreq_policy *policy, unsigned int frequency) >> { >> + WARN_ON(frequency != clk_get_rate(pll_p_clk) / 1000); >> + >> + /* >> + * Take an extra reference to the main pll so it doesn't turn >> + * off when we move the cpu off of it >> + */ >> + clk_prepare_enable(pll_x_clk); >> + >> return clk_set_parent(cpu_clk, pll_p_clk); >> + /* FIXME: if error, remove pll_x reference */
Fixed this as well
| |