summaryrefslogtreecommitdiffstats
path: root/drivers/misc
diff options
context:
space:
mode:
authorShreshtha SAHU <ssahu@nvidia.com>2015-07-15 06:39:22 -0400
committerNicolin Chen <nicolinc@nvidia.com>2017-08-14 21:38:52 -0400
commit657f896688f1802776c34c34a30145ad1b6490f0 (patch)
tree4d7eaff1db12b2928b912c09b79b8060d130eab4 /drivers/misc
parentc780135f09cd97b7c88c53aaa98255882b242822 (diff)
driver: therm_fan_est: lower message log level
Lower log level of printing temperature and trip index on each change from info to debug. Bug 200102334 Change-Id: I326091f44cec53f10acdca850c1afde1d11b0a4a Signed-off-by: Shreshtha SAHU <ssahu@nvidia.com> Reviewed-on: http://git-master/r/770441 (cherry picked from commit 60e6b02a9bccc8ece59d9272de42ce9f4fb710eb) Reviewed-on: http://git-master/r/781106 (cherry picked from commit 2726f92c4995b405d2d723c2e257a829873d7f19) Reviewed-on: http://git-master/r/783523
Diffstat (limited to 'drivers/misc')
-rw-r--r--drivers/misc/therm_fan_est.c6
1 files changed, 3 insertions, 3 deletions
diff --git a/drivers/misc/therm_fan_est.c b/drivers/misc/therm_fan_est.c
index e0fdb0848..73fae60ab 100644
--- a/drivers/misc/therm_fan_est.c
+++ b/drivers/misc/therm_fan_est.c
@@ -107,7 +107,7 @@ static void therm_fan_est_work_func(struct work_struct *work)
107 if (!((trip_index - 1) % 2) || (!est->current_trip_index) || 107 if (!((trip_index - 1) % 2) || (!est->current_trip_index) ||
108 ((trip_index - est->current_trip_index) >= 2) || 108 ((trip_index - est->current_trip_index) >= 2) ||
109 ((trip_index - est->current_trip_index) <= -2)) { 109 ((trip_index - est->current_trip_index) <= -2)) {
110 pr_info("%s, cur_temp:%ld, cur_trip_index:%d\n", 110 pr_debug("%s, cur_temp:%ld, cur_trip_index:%d\n",
111 __func__, est->cur_temp, est->current_trip_index); 111 __func__, est->cur_temp, est->current_trip_index);
112 thermal_zone_device_update(est->thz); 112 thermal_zone_device_update(est->thz);
113 } 113 }
@@ -635,7 +635,7 @@ static int therm_fan_est_suspend(struct platform_device *pdev,
635 if (!est) 635 if (!est)
636 return -EINVAL; 636 return -EINVAL;
637 637
638 pr_info("therm-fan-est: %s, cur_temp:%ld", __func__, est->cur_temp); 638 pr_debug("therm-fan-est: %s, cur_temp:%ld", __func__, est->cur_temp);
639 cancel_delayed_work(&est->therm_fan_est_work); 639 cancel_delayed_work(&est->therm_fan_est_work);
640 est->current_trip_index = 0; 640 est->current_trip_index = 0;
641 641
@@ -648,7 +648,7 @@ static int therm_fan_est_resume(struct platform_device *pdev)
648 648
649 if (!est) 649 if (!est)
650 return -EINVAL; 650 return -EINVAL;
651 pr_info("therm-fan-est: %s, cur_temp:%ld", __func__, est->cur_temp); 651 pr_debug("therm-fan-est: %s, cur_temp:%ld", __func__, est->cur_temp);
652 652
653 queue_delayed_work(est->workqueue, 653 queue_delayed_work(est->workqueue,
654 &est->therm_fan_est_work, 654 &est->therm_fan_est_work,