aboutsummaryrefslogtreecommitdiff
path: root/lib/dynamic_debug.c
diff options
context:
space:
mode:
authorLukasz Luba <lukasz.luba@arm.com>2023-12-01 12:32:05 +0000
committerRafael J. Wysocki <rafael.j.wysocki@intel.com>2023-12-05 20:51:24 +0100
commitbdefd9913bdd453991ef756b6f7176e8ad80d786 (patch)
tree51a38655140266f4ce026017e50513177d2aa065 /lib/dynamic_debug.c
parent33cc938e65a98f1d29d0a18403dbbee050dcad9a (diff)
powercap: DTPM: Fix missing cpufreq_cpu_put() calls
The policy returned by cpufreq_cpu_get() has to be released with the help of cpufreq_cpu_put() to balance its kobject reference counter properly. Add the missing calls to cpufreq_cpu_put() in the code. Fixes: 0aea2e4ec2a2 ("powercap/dtpm_cpu: Reset per_cpu variable in the release function") Fixes: 0e8f68d7f048 ("powercap/drivers/dtpm: Add CPU energy model based support") Cc: v5.16+ <stable@vger.kernel.org> # v5.16+ Signed-off-by: Lukasz Luba <lukasz.luba@arm.com> Signed-off-by: Rafael J. Wysocki <rafael.j.wysocki@intel.com>
Diffstat (limited to 'lib/dynamic_debug.c')
0 files changed, 0 insertions, 0 deletions