Commit 49243adc authored by Dhananjay Ugwekar's avatar Dhananjay Ugwekar Committed by Viresh Kumar
Browse files

cpufreq/amd-pstate: Add the missing cpufreq_cpu_put()



Fix the reference counting of cpufreq_policy object in amd_pstate_update()
function by adding the missing cpufreq_cpu_put().

Fixes: e8f555da ("cpufreq/amd-pstate: fix setting policy current frequency value")
Signed-off-by: default avatarDhananjay Ugwekar <Dhananjay.Ugwekar@amd.com>
Reviewed-by: default avatarPerry Yuan <perry.yuan@amd.com>
Signed-off-by: default avatarViresh Kumar <viresh.kumar@linaro.org>
parent 81746019
Loading
Loading
Loading
Loading
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please to comment