Re: [PATCH V2 3/3] cpufreq: Tegra: implement intermediate frequency callbacks
From: Viresh Kumar
Date: Sat May 17 2014 - 00:52:30 EST
On 17 May 2014 01:09, Stephen Warren <swarren@xxxxxxxxxxxxx> 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
--
To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
the body of a message to majordomo@xxxxxxxxxxxxxxx
More majordomo info at http://vger.kernel.org/majordomo-info.html
Please read the FAQ at http://www.tux.org/lkml/