diff options
author | Amit Daniel Kachhap <amit.kachhap@linaro.org> | 2011-12-01 18:51:39 +0530 |
---|---|---|
committer | Nicolas Pitre <nicolas.pitre@linaro.org> | 2011-12-14 11:58:44 -0500 |
commit | adb2b0bf1daac11ea0284ba259ce0f88c9231591 (patch) | |
tree | 64100d2efc6bd3f9c625b0d2fcc703b964a0674b /arch/arm/mach-exynos4 | |
parent | 971be11492b1e248798f7078592b1fa0dfbf3534 (diff) |
thermal: Add a new trip type to use cooling device instance number
This patch adds a new trip type THERMAL_TRIP_STATE_ACTIVE. This
trip behaves same as THERMAL_TRIP_ACTIVE but also passes the cooling
device instance number. This helps the cooling device registered as
different instances to perform appropriate cooling action decision in
the set_cur_state call back function.
Also since the trip temperature's are in ascending order so some logic
is put in place to skip the un-necessary checks.
Signed-off-by: Amit Daniel Kachhap <amit.kachhap@linaro.org>
Signed-off-by: Nicolas Pitre <nicolas.pitre@linaro.org>
Diffstat (limited to 'arch/arm/mach-exynos4')
0 files changed, 0 insertions, 0 deletions