diff options
| author | Rafael J. Wysocki <[email protected]> | 2019-02-19 23:26:30 +0000 |
|---|---|---|
| committer | Rafael J. Wysocki <[email protected]> | 2019-02-20 09:18:37 +0000 |
| commit | 167a38dcd5caaa85994ac8b7d2d1c20a71cd947b (patch) | |
| tree | 5bd9632a284dddf1af7e715e3dc4a6f66d0a3bf5 /lib/string_helpers.c | |
| parent | cpufreq: Fix two debug messages in cpufreq_set_policy() (diff) | |
| download | kernel-167a38dcd5caaa85994ac8b7d2d1c20a71cd947b.tar.gz kernel-167a38dcd5caaa85994ac8b7d2d1c20a71cd947b.zip | |
cpufreq: Pass updated policy to driver ->setpolicy() callback
The invocation of the ->setpolicy() cpufreq driver callback should
be equivalent to calling cpufreq_governor_limits(policy) for drivers
with internal governors, but in fact it isn't so, because the
temporary new_policy object is passed to it instead of the updated
policy.
That is a bit confusing, so make cpufreq_set_policy() pass the
updated policy to the driver ->setpolicy() callback.
No intentional changes of behavior.
Signed-off-by: Rafael J. Wysocki <[email protected]>
Acked-by: Viresh Kumar <[email protected]>
Diffstat (limited to 'lib/string_helpers.c')
0 files changed, 0 insertions, 0 deletions
