-
- Downloads
PM: EM: Decrement policy counter
In commit e458716a ("PM: EM: Mark inefficiencies in CPUFreq"), cpufreq_cpu_get() is called without a cpufreq_cpu_put(), permanently increasing the reference counts of the policy struct. Decrement the reference count once the policy struct is not used anymore. Fixes: e458716a ("PM: EM: Mark inefficiencies in CPUFreq") Tested-by:Cristian Marussi <cristian.marussi@arm.com> Signed-off-by:
Pierre Gondois <pierre.gondois@arm.com> Reviewed-by:
Vincent Donnefort <vincent.donnefort@arm.com> Signed-off-by:
Rafael J. Wysocki <rafael.j.wysocki@intel.com>
Loading
Please register or sign in to comment