thermal: core: using power_efficient_wq for thermal worker
authorJeson Gao <jeson.gao@unisoc.com>
Tue, 4 Sep 2018 07:14:08 +0000 (15:14 +0800)
committerZhang Rui <rui.zhang@intel.com>
Wed, 10 Oct 2018 13:48:50 +0000 (21:48 +0800)
commitc2b59d279dbbac750958f6a1bc4841e431d934e3
tree888dee70bdfba3f0812a3943ea488b2e40fbfe58
parent3c587768271e9c20276522025729e4ebca51583b
thermal: core: using power_efficient_wq for thermal worker

For SMP systems, thermal worker should use power_efficient_wq in power
saving mode, that will make scheduler more flexible on selecting an active
core for running work handler to avoid keeping work handler always
running on a single core, that will save some power.

Even if 'power_efficient_wq' relevant configs are disabled
'system_freezable_power_efficient_wq' is identical to system_freezable_wq,
behavior is unchanged.

Signed-off-by: Jeson Gao <jeson.gao@unisoc.com>
Signed-off-by: Chunyan Zhang <chunyan.zhang@unisoc.com>
Signed-off-by: Zhang Rui <rui.zhang@intel.com>
drivers/thermal/thermal_core.c