linux/drivers/thermal
Viresh Kumar 1afb9c539d thermal/cpu_cooling: update policy limits if clipped_freq < policy->max
policy->max is the maximum allowed frequency defined by user and
clipped_freq is the maximum that thermal constraints allow.

If clipped_freq is lower than policy->max, then we need to readjust
policy->max.

But, if clipped_freq is greater than policy->max, we don't need to do
anything. We used to call cpufreq_verify_within_limits() in this case,
but it doesn't change anything in this case.

Lets skip this unnecessary call and write a comment that explains this.

Signed-off-by: Viresh Kumar <viresh.kumar@linaro.org>
Signed-off-by: Eduardo Valentin <edubezval@gmail.com>
2015-08-14 18:26:23 -07:00
..
int340x_thermal int340x_thermal/processor_thermal_device: add support to Skylake processors 2015-05-01 11:38:55 +08:00
samsung thermal: exynos: Remove unused code related to platform_data on probe() 2015-08-02 19:36:57 -07:00
st drivers: thermal: st: remove several sparse warnings 2015-04-07 13:43:28 -07:00
ti-soc-thermal Merge branch 'next' of git://git.kernel.org/pub/scm/linux/kernel/git/rzhang/linux 2015-06-25 17:51:55 -07:00
armada_thermal.c thermal: armada: Update Armada 380 thermal sensor coefficients 2015-05-09 01:00:31 -07:00
clock_cooling.c thermal: introduce clock cooling device 2014-11-20 10:43:16 -04:00
cpu_cooling.c thermal/cpu_cooling: update policy limits if clipped_freq < policy->max 2015-08-14 18:26:23 -07:00
db8500_cpufreq_cooling.c Merge branch 'fixes' of git://git.kernel.org/pub/scm/linux/kernel/git/evalenti/linux-soc-thermal into thermal-soc 2014-12-21 22:49:12 +08:00
db8500_thermal.c thermal: of: fix cooling device weights in device tree 2015-05-04 21:27:50 -07:00
dove_thermal.c thermal: drop owner assignment from platform_drivers 2014-10-20 16:21:42 +02:00
fair_share.c thermal: fair_share: generalize the weight concept 2015-05-04 21:27:51 -07:00
gov_bang_bang.c thermal: Added Bang-bang thermal governor 2014-08-27 15:45:58 +08:00
hisi_thermal.c thermal: Drop owner assignment from platform_driver 2015-08-03 23:10:23 +08:00
imx_thermal.c thermal: of: fix cooling device weights in device tree 2015-05-04 21:27:50 -07:00
intel_powerclamp.c Minor merge needed, due to function move. 2015-07-01 10:49:25 -07:00
intel_quark_dts_thermal.c thermal: intel Quark SoC X1000 DTS thermal driver 2015-05-01 11:20:43 +08:00
intel_soc_dts_iosf.c Thermal: Intel SoC: fix simple_return.cocci warnings 2015-05-01 11:38:27 +08:00
intel_soc_dts_iosf.h Thermal: Intel SoC: DTS thermal IOSF core 2015-05-01 11:20:42 +08:00
intel_soc_dts_thermal.c Thermal: Intel SoC: DTS thermal use common APIs 2015-05-01 11:20:42 +08:00
Kconfig Merge branches 'release' and 'thermal-soc' of .git into next 2015-06-11 12:52:14 +08:00
kirkwood_thermal.c thermal: drop owner assignment from platform_drivers 2014-10-20 16:21:42 +02:00
Makefile Merge branches 'release' and 'thermal-soc' of .git into next 2015-06-11 12:52:14 +08:00
of-thermal.c thermal: of-thermal: add support for reading coefficients property 2015-05-11 19:48:09 -07:00
power_allocator.c thermal: power_allocator: do not use devm* interfaces 2015-08-13 21:42:09 -07:00
qcom-spmi-temp-alarm.c thermal: Add QPNP PMIC temperature alarm driver 2015-05-04 21:27:51 -07:00
rcar_thermal.c thermal: rcar: Make error and remove paths symmetrical with init 2015-02-24 14:58:05 -04:00
rockchip_thermal.c thermal: rockchip: fix an error code 2015-05-09 13:36:57 +08:00
spear_thermal.c thermal: drop owner assignment from platform_drivers 2014-10-20 16:21:42 +02:00
step_wise.c thermal: step_wise: spelling fixes 2015-02-06 16:35:00 +08:00
tegra_soctherm.c thermal: of: improve of-thermal sensor registration API 2014-11-20 10:44:54 -04:00
thermal_core.c thermal: remove dangling 'weight_attr' device file 2015-08-02 19:36:57 -07:00
thermal_core.h Merge branch 'linus' of git://git.kernel.org/pub/scm/linux/kernel/git/evalenti/linux-soc-thermal into thermal-soc 2015-06-11 10:55:42 +08:00
thermal_hwmon.c thermal: hwmon: Make the check for critical temp valid consistent 2014-06-30 10:17:27 +08:00
thermal_hwmon.h thermal: hwmon: move hwmon support to single file 2013-09-03 09:09:12 -04:00
user_space.c Thermal: build thermal governors into thermal_sys module 2013-04-14 23:28:43 +08:00
x86_pkg_temp_thermal.c thermal: x86_pkg_temp: drop const for thermal_zone_parameters 2015-05-04 21:27:53 -07:00