arm: tegra: thermal: Low temp to therm algorithm
authorJoshua Primero <jprimero@nvidia.com>
Sun, 18 Dec 2011 23:44:25 +0000 (15:44 -0800)
committerVarun Wadekar <vwadekar@nvidia.com>
Thu, 22 Dec 2011 06:01:16 +0000 (11:01 +0530)
commit32ff2dc25622e3a0367326729c5b483c64ae2f29
tree33418ae37cf65ee5138d2f83381ee93501bc1209
parent29a18b43d3bfeaf240094c54cb7946ba6b4975c0
arm: tegra: thermal: Low temp to therm algorithm

Instead of using 0C as default low temp in thermal
algorithm, query the thermal device driver for
lowest supported temperature.

Change-Id: Id1f70380ba476dec80e36ce79b42ab6f24a5d5ba
Signed-off-by: Joshua Primero <jprimero@nvidia.com>
Reviewed-on: http://git-master/r/70935
Reviewed-by: Rohan Somvanshi <rsomvanshi@nvidia.com>
Tested-by: Rohan Somvanshi <rsomvanshi@nvidia.com>
arch/arm/mach-tegra/board-cardhu-sensors.c
arch/arm/mach-tegra/board-enterprise-sensors.c
arch/arm/mach-tegra/include/mach/thermal.h
arch/arm/mach-tegra/tegra3_thermal.c
arch/arm/mach-tegra/tegra3_tsensor.c