Re: [PATCH V5 2/2] cpufreq: Tegra: implement intermediate frequency callbacks

2014-06-05 Thread Viresh Kumar
On 6 June 2014 01:21, Doug Anderson wrote: > The "Though when target-freq is intermediate freq, we don't need to > take this reference." makes me think that this function is actually > called when target-freq is intermediate freq. I don't think it is, > right? Yes, it isn't called for that combi

Re: [PATCH V5 2/2] cpufreq: Tegra: implement intermediate frequency callbacks

2014-06-05 Thread Doug Anderson
Viresh, On Mon, Jun 2, 2014 at 10:19 AM, Viresh Kumar wrote: > Tegra had always been switching to intermediate frequency (pll_p_clk) since > ever. CPUFreq core has better support for handling notifications for these > frequencies and so we can adapt Tegra's driver to it. > > Also do a WARN() if c

[PATCH V5 2/2] cpufreq: Tegra: implement intermediate frequency callbacks

2014-06-02 Thread Viresh Kumar
Tegra had always been switching to intermediate frequency (pll_p_clk) since ever. CPUFreq core has better support for handling notifications for these frequencies and so we can adapt Tegra's driver to it. Also do a WARN() if clk_set_parent() fails while moving back to pll_x as we should have atlea