Skip to content

Commit

Permalink
hw-mgmt: thermal: Correct DPU voltmon sensor attribute
Browse files Browse the repository at this point in the history
TC was expecting the voltmon temperature sensor attribute
from dpu as dpu_voltmon[1-2]_temp1_input. This commit
removes the 'dpu' prefix.

Signed-off-by: Ciju Rajan K <crajank@nvidia.com>
  • Loading branch information
ciju-nvidia authored and felixradensky committed Jul 9, 2024
1 parent 7ff4739 commit 048736d
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion usr/usr/bin/hw_management_thermal_control.py
Original file line number Diff line number Diff line change
Expand Up @@ -3154,7 +3154,7 @@ def add_DPU_voltmon_sensor(self, name):
dpu_idx = res.group(1)
voltmon_name = res.group(2)
sensor_name = "{}_temp".format(name)
in_file = "{}/thermal/dpu_{}_temp1".format(dpu_idx, voltmon_name)
in_file = "{}/thermal/{}_temp1".format(dpu_idx, voltmon_name)
self._sensor_add_config("thermal_sensor", sensor_name, {"base_file_name": in_file})

# ----------------------------------------------------------------------
Expand Down

0 comments on commit 048736d

Please sign in to comment.