Re: [PATCHv2 1/1] thermal: cpu_cooling: check for the readiness of cpufreq layer

2014-11-28 Thread Lukasz Majewski
On Fri, 28 Nov 2014 13:35:49 +0530 Viresh Kumar viresh.ku...@linaro.org wrote: On 27 November 2014 at 19:42, Eduardo Valentin edubez...@gmail.com wrote: (I'm sorry VireshK, I am still using my normal practice) :-) That's fine :) diff --git a/drivers/thermal/cpu_cooling.c

Re: [PATCHv2 1/1] thermal: cpu_cooling: check for the readiness of cpufreq layer

2014-11-28 Thread Eduardo Valentin
Hello Folks, On Fri, Nov 28, 2014 at 11:18:24AM +0100, Lukasz Majewski wrote: On Fri, 28 Nov 2014 13:35:49 +0530 Viresh Kumar viresh.ku...@linaro.org wrote: On 27 November 2014 at 19:42, Eduardo Valentin edubez...@gmail.com wrote: (I'm sorry VireshK, I am still using my normal

Re: [PATCHv2 1/1] thermal: cpu_cooling: check for the readiness of cpufreq layer

2014-11-28 Thread Viresh Kumar
On 28 November 2014 at 18:44, Eduardo Valentin edubez...@gmail.com wrote: Well, I wouldn't say unfortunately, but fortunately! :-) +1 :) However, I would prefer, at least to what comes to deferring, to update the drivers altogether with the inclusion of the check in cpu cooling. This way the

[PATCHv2 1/1] thermal: cpu_cooling: check for the readiness of cpufreq layer

2014-11-27 Thread Eduardo Valentin
In this patch, the cpu_cooling code checks for the usability of cpufreq layer before proceeding with the CPU cooling device registration. The main reason is: CPU cooling device is not usable if cpufreq cannot switch frequencies. Similar checks are spread in thermal drivers. Thus, the advantage