Re: [PATCH 2/2] cpufreq: Only do governor start after successful stop

2013-08-14 Thread Xiaoguang Chen
2013/8/14 Viresh Kumar : > On 13 August 2013 12:39, Xiaoguang Chen wrote: >> cpufreq_add_policy_cpu, __cpufreq_remove_dev and __cpufreq_set_policy >> have operations for governor stop and start. >> Only do the start operation when the previous stop operation succeeds. >> >> Signed-off-by:

Re: [PATCH 2/2] cpufreq: Only do governor start after successful stop

2013-08-14 Thread Xiaoguang Chen
2013/8/14 Viresh Kumar viresh.ku...@linaro.org: On 13 August 2013 12:39, Xiaoguang Chen che...@marvell.com wrote: cpufreq_add_policy_cpu, __cpufreq_remove_dev and __cpufreq_set_policy have operations for governor stop and start. Only do the start operation when the previous stop operation

Re: [PATCH 2/2] cpufreq: Only do governor start after successful stop

2013-08-13 Thread Viresh Kumar
On 13 August 2013 12:39, Xiaoguang Chen wrote: > cpufreq_add_policy_cpu, __cpufreq_remove_dev and __cpufreq_set_policy > have operations for governor stop and start. > Only do the start operation when the previous stop operation succeeds. > > Signed-off-by: Xiaoguang Chen > --- >

[PATCH 2/2] cpufreq: Only do governor start after successful stop

2013-08-13 Thread Xiaoguang Chen
cpufreq_add_policy_cpu, __cpufreq_remove_dev and __cpufreq_set_policy have operations for governor stop and start. Only do the start operation when the previous stop operation succeeds. Signed-off-by: Xiaoguang Chen --- drivers/cpufreq/cpufreq.c | 25 +++-- 1 file changed,

[PATCH 2/2] cpufreq: Only do governor start after successful stop

2013-08-13 Thread Xiaoguang Chen
cpufreq_add_policy_cpu, __cpufreq_remove_dev and __cpufreq_set_policy have operations for governor stop and start. Only do the start operation when the previous stop operation succeeds. Signed-off-by: Xiaoguang Chen che...@marvell.com --- drivers/cpufreq/cpufreq.c | 25 +++--

Re: [PATCH 2/2] cpufreq: Only do governor start after successful stop

2013-08-13 Thread Viresh Kumar
On 13 August 2013 12:39, Xiaoguang Chen che...@marvell.com wrote: cpufreq_add_policy_cpu, __cpufreq_remove_dev and __cpufreq_set_policy have operations for governor stop and start. Only do the start operation when the previous stop operation succeeds. Signed-off-by: Xiaoguang Chen