summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorpoornima tom <poornima.tom@intel.com>2023-02-10 13:27:10 +0530
committerChromeos LUCI <chromeos-scoped@luci-project-accounts.iam.gserviceaccount.com>2023-02-13 05:07:50 +0000
commitb06f4bb37716b86bce36cc103a3c99e7c6e07443 (patch)
tree8c2ff62f8c0a1df71c5564c9a683630f71d91919
parent49a4b42d98ae57d7f3beb9caa7a3e6ade599113d (diff)
downloadchrome-ec-b06f4bb37716b86bce36cc103a3c99e7c6e07443.tar.gz
ectool: Remove the FAN STALLED print
Remove the "Fan %d stalled!" print for the ectool command - "pwmgetfanrpm". This response fails the factory test to get the rpm value. Also, there is already indication of when fan stalled condition, when it has appeared by the print in file - common/fan.c;l=583. Hence, this print in this ectool command is unnecessary. BUG=b:268292546, b:261701530, b:266221111, b:268810195 TEST=Perform factory test BRANCH=None Change-Id: Ief479a7a2554cb59fb242ed0dd3592c1a38426de Signed-off-by: poornima tom <poornima.tom@intel.com> Reviewed-on: https://chromium-review.googlesource.com/c/chromiumos/platform/ec/+/4236162 Reviewed-by: Sumeet R Pawnikar <sumeet.r.pawnikar@intel.com> Reviewed-by: Daisuke Nojiri <dnojiri@chromium.org>
-rw-r--r--util/ectool.cc3
1 files changed, 0 insertions, 3 deletions
diff --git a/util/ectool.cc b/util/ectool.cc
index c997e8e7c3..6a7768b130 100644
--- a/util/ectool.cc
+++ b/util/ectool.cc
@@ -3647,9 +3647,6 @@ static int print_fan(int idx)
switch (rv) {
case EC_FAN_SPEED_NOT_PRESENT:
return -1;
- case EC_FAN_SPEED_STALLED:
- printf("Fan %d stalled!\n", idx);
- break;
default:
printf("Fan %d RPM: %d\n", idx, rv);
break;