Re: [PATCH 1/2] cpufreq: return early from __cpufreq_driver_getavg()

2012-10-24 Thread Rafael J. Wysocki
On Saturday 20 of October 2012 10:12:07 Viresh Kumar wrote: > On Oct 20, 2012 3:37 AM, "Rafael J. Wysocki" wrote: > > > > On Saturday 20 of October 2012 01:42:05 Viresh Kumar wrote: > > > There is no need to do cpufreq_get_cpu() and cpufreq_put_cpu() for > drivers that > > > don't support

Re: [PATCH 1/2] cpufreq: return early from __cpufreq_driver_getavg()

2012-10-24 Thread Rafael J. Wysocki
On Saturday 20 of October 2012 10:12:07 Viresh Kumar wrote: On Oct 20, 2012 3:37 AM, Rafael J. Wysocki r...@sisk.pl wrote: On Saturday 20 of October 2012 01:42:05 Viresh Kumar wrote: There is no need to do cpufreq_get_cpu() and cpufreq_put_cpu() for drivers that don't support getavg()

Re: [PATCH 1/2] cpufreq: return early from __cpufreq_driver_getavg()

2012-10-20 Thread Viresh Kumar
Re-sending, as it bounced from the lists :( When i reply to mail from my Samsung S2, it replies in HTML format. Don't know how to fix it :) On 20 October 2012 10:12, Viresh Kumar wrote: > > On Oct 20, 2012 3:37 AM, "Rafael J. Wysocki" wrote: >> >> On Saturday 20 of October 2012 01:42:05 Viresh

Re: [PATCH 1/2] cpufreq: return early from __cpufreq_driver_getavg()

2012-10-20 Thread Viresh Kumar
Re-sending, as it bounced from the lists :( When i reply to mail from my Samsung S2, it replies in HTML format. Don't know how to fix it :) On 20 October 2012 10:12, Viresh Kumar viresh.ku...@linaro.org wrote: On Oct 20, 2012 3:37 AM, Rafael J. Wysocki r...@sisk.pl wrote: On Saturday 20 of

Re: [PATCH 1/2] cpufreq: return early from __cpufreq_driver_getavg()

2012-10-19 Thread Rafael J. Wysocki
On Saturday 20 of October 2012 01:42:05 Viresh Kumar wrote: > There is no need to do cpufreq_get_cpu() and cpufreq_put_cpu() for drivers > that > don't support getavg() routine. > > Signed-off-by: Viresh Kumar The patch doesn't seem to follow the changelog or the other way around. Thanks,

[PATCH 1/2] cpufreq: return early from __cpufreq_driver_getavg()

2012-10-19 Thread Viresh Kumar
There is no need to do cpufreq_get_cpu() and cpufreq_put_cpu() for drivers that don't support getavg() routine. Signed-off-by: Viresh Kumar --- drivers/cpufreq/cpufreq.c | 6 -- 1 file changed, 4 insertions(+), 2 deletions(-) diff --git a/drivers/cpufreq/cpufreq.c

[PATCH 1/2] cpufreq: return early from __cpufreq_driver_getavg()

2012-10-19 Thread Viresh Kumar
There is no need to do cpufreq_get_cpu() and cpufreq_put_cpu() for drivers that don't support getavg() routine. Signed-off-by: Viresh Kumar viresh.ku...@linaro.org --- drivers/cpufreq/cpufreq.c | 6 -- 1 file changed, 4 insertions(+), 2 deletions(-) diff --git a/drivers/cpufreq/cpufreq.c

Re: [PATCH 1/2] cpufreq: return early from __cpufreq_driver_getavg()

2012-10-19 Thread Rafael J. Wysocki
On Saturday 20 of October 2012 01:42:05 Viresh Kumar wrote: There is no need to do cpufreq_get_cpu() and cpufreq_put_cpu() for drivers that don't support getavg() routine. Signed-off-by: Viresh Kumar viresh.ku...@linaro.org The patch doesn't seem to follow the changelog or the other way