[COMMON] thermal: power_allocator: Use last active point as switch_on
authorHyeonseong Gil <hs.gil@samsung.com>
Thu, 11 Aug 2016 04:14:27 +0000 (13:14 +0900)
committerChungwoo Park <cww.park@samsung.com>
Mon, 21 May 2018 08:13:23 +0000 (17:13 +0900)
commit7c096006376169861502ab096b48eddac01e7ec8
tree76acaebfb3cfeac31cd9966c43da6dd6bfa5e9cd
parent8f0300a6034f02c2f2973bef0c6830abd5220c87
[COMMON] thermal: power_allocator: Use last active point as switch_on

If only one passive temperature exists,
use the last active temperature below passive point
as switch_on temperature.

Change-Id: I57a8d94683881d10af5de30d57287159517ec364
Signed-off-by: Hyeonseong Gil <hs.gil@samsung.com>
drivers/thermal/power_allocator.c