Commit 394cb831 authored by Jia Hongtao's avatar Jia Hongtao Committed by Rafael J. Wysocki

cpufreq: qoriq: Fix cooling device registration issue during suspend

Cooling device is registered by ready callback. It's also invoked while
system resuming from sleep (Enabling non-boot cpus). Thus cooling device
may be multiple registered. Matchable unregistration is added to exit
callback to fix this issue.
Signed-off-by: default avatarJia Hongtao <>
Signed-off-by: default avatarRafael J. Wysocki <>
parent 495c716f
......@@ -305,6 +305,7 @@ static int qoriq_cpufreq_cpu_exit(struct cpufreq_policy *policy)
struct cpu_data *data = policy->driver_data;
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment