kernel_optimize_test/drivers/thermal
Heiner Kallweit 90a21ff582 imx: thermal: imx_get_temp might be called before sensor clock is prepared
imx_get_temp might be called before the sensor clock is prepared
thus resulting in a timeout of the first attempt to read temp:
thermal thermal_zone0: failed to read out thermal zone 0
Happened to me on a Utilite Standard with IMX6 Dual SoC.

Reason is that in imx_thermal_probe thermal_zone_device_register
is called before the sensor clock is prepared.
thermal_zone_device_register however calls
thermal_zone_device_update which eventually calls imx_get_temp.

Fix this by preparing the clock before calling
thermal_zone_device_register.

Signed-off-by: Heiner Kallweit <heiner.kallweit@web.de>
Signed-off-by: Eduardo Valentin <edubezval@gmail.com>
2014-11-09 15:42:53 -04:00
..
int340x_thermal Thermal/int3403: Fix thermal hysteresis unit conversion 2014-11-04 19:17:32 -04:00
samsung thermal: exynos: use correct offset for TMU_CONTROL register on Exynos5260 2014-11-07 14:52:42 -04:00
st
ti-soc-thermal
armada_thermal.c
cpu_cooling.c
db8500_cpufreq_cooling.c
db8500_thermal.c
dove_thermal.c
fair_share.c
gov_bang_bang.c
imx_thermal.c imx: thermal: imx_get_temp might be called before sensor clock is prepared 2014-11-09 15:42:53 -04:00
intel_powerclamp.c
intel_soc_dts_thermal.c
Kconfig Merge branch 'next' of git://git.kernel.org/pub/scm/linux/kernel/git/rzhang/linux 2014-10-24 11:21:43 -07:00
kirkwood_thermal.c
Makefile Merge branch 'int340x-thermal' of .git into next 2014-10-17 14:30:58 +08:00
of-thermal.c thermal: fix multiple disbalanced device node counters 2014-11-02 23:02:49 -04:00
rcar_thermal.c
spear_thermal.c
step_wise.c
thermal_core.c Thermal:Remove usless if(!result) before return tz 2014-11-03 18:59:50 -04:00
thermal_core.h
thermal_hwmon.c
thermal_hwmon.h
user_space.c
x86_pkg_temp_thermal.c