diff options
author | Joshua Primero <jprimero@nvidia.com> | 2012-07-03 19:39:13 -0700 |
---|---|---|
committer | Rohan Somvanshi <rsomvanshi@nvidia.com> | 2012-07-11 06:13:45 -0700 |
commit | 4e35d4754655e5088b2ec5a8f6ba418d27bb32f2 (patch) | |
tree | eb07781cf7a569c93296927448e8f1fde8efeeb8 /drivers | |
parent | a1ffbfd7ffecf7806cac3537ead90eaf48c53d71 (diff) |
drivers: misc: fixed therm estimator bug
Fixed hi and lo limit bug in thermal estimator driver.
bug 1007726
Change-Id: I2be90ca7d875dbed34004b83f070fb5cbd8bc467
Signed-off-by: Joshua Primero <jprimero@nvidia.com>
Reviewed-on: http://git-master/r/113564
Reviewed-by: Automatic_Commit_Validation_User
GVS: Gerrit_Virtual_Submit
Reviewed-by: Sachin Nikam <snikam@nvidia.com>
Diffstat (limited to 'drivers')
-rw-r--r-- | drivers/misc/therm_est.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/drivers/misc/therm_est.c b/drivers/misc/therm_est.c index fde61bc458ba..e67fc664c7af 100644 --- a/drivers/misc/therm_est.c +++ b/drivers/misc/therm_est.c @@ -86,7 +86,7 @@ static void therm_est_work_func(struct work_struct *work) est->ntemp++; if (est->callback && ((est->cur_temp >= est->therm_est_hi_limit) || - (est->cur_temp <= est->therm_est_hi_limit))) + (est->cur_temp <= est->therm_est_lo_limit))) est->callback(est->callback_data); queue_delayed_work(est->workqueue, &est->therm_est_work, |