linux/drivers/thermal
Andrew Bresticker e79fe642cc thermal: step_wise: set throttle target within thermal instance limits
When selecting a target cooling state in get_target_state(), make sure
that the state is at least as high as the minimum when the temperature
is rising and at least as low as the maximum when the temperature is
falling.  This is necessary because, in the THREAML_TREND_RAISING and
THERMAL_TREND_DROPPING cases, the current state may only be incremented
or decremented by one even if it is outside the bounds of the thermal
instance.  This might occur, for example, if the CPU is heating up
and hits a thermal trip point for the first time when it's frequency
is much higher than the range specified by the thermal instance
corresponding to the trip point.

Signed-off-by: Andrew Bresticker <abrestic@chromium.org>
Acked-by: Eduardo Valentin <eduardo.valentin@ti.com>
Signed-off-by: Zhang Rui <rui.zhang@intel.com>
2013-04-12 07:23:50 +08:00
..
armada_thermal.c thermal: Add driver for Armada 370/XP SoC thermal management 2013-04-02 21:04:09 +08:00
cpu_cooling.c Thermal: exynos: fix cooling state translation 2013-03-26 14:33:50 +08:00
db8500_cpufreq_cooling.c thermal: db8500: Use of_match_ptr() macro in db8500_cpufreq_cooling.c 2013-01-04 15:40:03 +08:00
db8500_thermal.c thermal: db8500: Use of_match_ptr() macro in db8500_thermal.c 2013-01-04 15:39:32 +08:00
dove_thermal.c Thermal: dove: Convert to devm_ioremap_resource() 2013-03-11 23:09:02 +08:00
exynos_thermal.c thermal: exynos: Adapt to temperature emulation core thermal framework 2013-04-02 21:29:54 +08:00
fair_share.c thermal: fair_share: Add missing static storage class specifiers 2012-11-05 14:00:10 +08:00
intel_powerclamp.c Fix mis-merge of intel_powerclamp.c resulting in compile error 2013-02-28 20:23:09 -08:00
Kconfig thermal: add a warning for temperature emulation feature 2013-04-02 21:34:42 +08:00
kirkwood_thermal.c Thermal: kirkwood: Convert to devm_ioremap_resource() 2013-03-11 23:09:18 +08:00
Makefile thermal: Add driver for Armada 370/XP SoC thermal management 2013-04-02 21:04:09 +08:00
rcar_thermal.c thermal: rcar: add pm_runtime_xxx() support 2013-04-02 21:18:39 +08:00
spear_thermal.c drivers/thermal/spear_thermal.c: use devm_clk_get 2013-01-04 15:38:25 +08:00
step_wise.c thermal: step_wise: set throttle target within thermal instance limits 2013-04-12 07:23:50 +08:00
thermal_core.h Thermal: Move thermal_instance to thermal_core.h 2012-11-05 13:56:32 +08:00
thermal_sys.c Merge branch 'release' of git://git.kernel.org/pub/scm/linux/kernel/git/rzhang/linux 2013-02-28 19:48:26 -08:00
user_space.c thermal: user_space: Add missing static storage class specifiers 2012-11-05 14:00:11 +08:00