lkml.org 
[lkml]   [2014]   [May]   [17]   [last100]   RSS Feed
Views: [wrap][no wrap]   [headers]  [forward] 
 
Messages in this thread
/
Date
SubjectRe: [PATCH V2 3/3] cpufreq: Tegra: implement intermediate frequency callbacks
From
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


\
 
 \ /
  Last update: 2014-05-17 07:41    [W:0.079 / U:0.360 seconds]
©2003-2020 Jasper Spaans|hosted at Digital Ocean and TransIP|Read the blog|Advertise on this site