Loading
drivers: thermal: cpu_cooling: Allow core online during resume
Device suspend will hotplug the cores bypassing the device
offline/online call and thermal will remove any core isolation request
once the core is offline. In the device resume path, the suspend
framework will try to bring the core online and cpu cooling device will
prevent it, since there is a thermal condition. Later, when the thermal
condition is cleared, cpu cooling device will try to use the device
online call. Since the cores are never hotplugged using device
offline, the framework assumes that the cores are online and will ignore
thermal request leaving the core in the hotplugged state.
Change cpu cooling device to allow the CPU core to come online during
device resuming from suspend. CPU cooling device will later re-evaluate
and isolate the core at the end of device resume.
Change-Id: Idc7cf9dc4ed3a794cdc8d49c706e91c0ae39d6b8
Signed-off-by:
Ram Chandrasekar <rkumbako@codeaurora.org>