diff options
author | Jia Hongtao <hongtao.jia@nxp.com> | 2016-04-19 11:00:07 +0200 |
---|---|---|
committer | Rafael J. Wysocki <rafael.j.wysocki@intel.com> | 2016-04-25 16:07:02 +0200 |
commit | 394cb8316b44e86f64c39ee943bc9bc4f813283b (patch) | |
tree | 23743b9f6401bdc110e722ce0a5dfc12e323b46a /kernel/capability.c | |
parent | cpufreq: qoriq: Remove __exit macro from .exit callback (diff) | |
download | linux-394cb8316b44e86f64c39ee943bc9bc4f813283b.tar.xz linux-394cb8316b44e86f64c39ee943bc9bc4f813283b.zip |
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: Jia Hongtao <hongtao.jia@nxp.com>
Signed-off-by: Rafael J. Wysocki <rafael.j.wysocki@intel.com>
Diffstat (limited to 'kernel/capability.c')
0 files changed, 0 insertions, 0 deletions