diff options
author | Rafael J. Wysocki <rafael.j.wysocki@intel.com> | 2020-02-27 00:39:27 +0300 |
---|---|---|
committer | Rafael J. Wysocki <rafael.j.wysocki@intel.com> | 2020-02-27 10:57:48 +0300 |
commit | f5739cb0b56590d68d8df8a44659893b6d0084c3 (patch) | |
tree | f7aff4b0f4f5171fbe1a69b625f7051b551907ee /Documentation/hid | |
parent | f8788d86ab28f61f7b46eb6be375f8a726783636 (diff) | |
download | linux-f5739cb0b56590d68d8df8a44659893b6d0084c3.tar.xz |
cpufreq: Fix policy initialization for internal governor drivers
Before commit 1e4f63aecb53 ("cpufreq: Avoid creating excessively
large stack frames") the initial value of the policy field in struct
cpufreq_policy set by the driver's ->init() callback was implicitly
passed from cpufreq_init_policy() to cpufreq_set_policy() if the
default governor was neither "performance" nor "powersave". After
that commit, however, cpufreq_init_policy() must take that case into
consideration explicitly and handle it as appropriate, so make that
happen.
Fixes: 1e4f63aecb53 ("cpufreq: Avoid creating excessively large stack frames")
Link: https://lore.kernel.org/linux-pm/39fb762880c27da110086741315ca8b111d781cd.camel@gmail.com/
Reported-by: Artem Bityutskiy <dedekind1@gmail.com>
Cc: 5.4+ <stable@vger.kernel.org> # 5.4+
Signed-off-by: Rafael J. Wysocki <rafael.j.wysocki@intel.com>
Acked-by: Viresh Kumar <viresh.kumar@linaro.org>
Diffstat (limited to 'Documentation/hid')
0 files changed, 0 insertions, 0 deletions