You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
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: 0aea2e4 ("powercap/dtpm_cpu: Reset per_cpu variable in the release function")
Fixes: 0e8f68d ("powercap/drivers/dtpm: Add CPU energy model based support")
Cc: v5.16+ <[email protected]> # v5.16+
Signed-off-by: Lukasz Luba <[email protected]>
Signed-off-by: Rafael J. Wysocki <[email protected]>
0 commit comments