commit | 4a71ce4348bb61740d411822357061f8bf870f4c | [log] [tgz] |
---|---|---|
author | Viresh Kumar <viresh.kumar@linaro.org> | Tue Nov 15 13:53:21 2016 +0530 |
committer | Rafael J. Wysocki <rafael.j.wysocki@intel.com> | Wed Nov 16 23:21:08 2016 +0100 |
tree | 36a84d540d82a046205dbceb9021347e3f5cb3bd | |
parent | 8e2ddb03643eb9d0bc4926946d7ce0d308eef0a5 [diff] |
cpufreq: schedutil: enable fast switch earlier The fast_switch_enabled flag will be used by both sugov_policy_alloc() and sugov_policy_free() with a later patch. Prepare for that by moving the calls to enable and disable it to the beginning of sugov_init() and end of sugov_exit(). Signed-off-by: Viresh Kumar <viresh.kumar@linaro.org> Signed-off-by: Rafael J. Wysocki <rafael.j.wysocki@intel.com>