drivers: misc: enable therm_est based on temp.
authorTomasz Falkiewicz <tfalkiewicz@nvidia.com>
Thu, 9 Jan 2014 04:23:22 +0000 (20:23 -0800)
committerDiwakar Tundlam <dtundlam@nvidia.com>
Tue, 28 Jan 2014 19:23:22 +0000 (11:23 -0800)
commiteba4344668a4f353982f66b9613e70cad29ff057
treef7c02a7d22cf4dce6303f0379b301311869a9f90
parent95ac20d7d0bee7fee14abaaa3234f4f2ed4f5e80
drivers: misc: enable therm_est based on temp.

The polling mechanism of the "therm_est" is now controled by the
"therm_est_activ" cooling device. Whenever certain temperature
level, measured by the TBoard_Tegra, is reached device is being
activated, what enables polling mechanism of "therm_est". This
way, assuming that the value is chosen corretly, it is possible
to delay the performance loss when the skin temperature has to be
low.

Bug 1415692

Change-Id: I5082d7086bf96b72212db9a4438bcabe3daf4141
Signed-off-by: Tomasz Falkiewicz <tfalkiewicz@nvidia.com>
Reviewed-on: http://git-master/r/357282
Reviewed-by: Automatic_Commit_Validation_User
Reviewed-by: Hyungwoo Yang <hyungwooy@nvidia.com>
Reviewed-by: Diwakar Tundlam <dtundlam@nvidia.com>
Tested-by: Allen Yu <alleny@nvidia.com>
drivers/misc/therm_est.c
include/linux/therm_est.h