Skip to content

Commit

Permalink
hw-mgmt: thermal: Update TC voltmon sensor name
Browse files Browse the repository at this point in the history
This patch updates the voltmon temperature sensor
attribute name from voltmon_temp_input to
voltmon_temp1_input.

Reviewed-by: Oleksandr Shamray <[email protected]>
Signed-off-by: Ciju Rajan K <[email protected]>
  • Loading branch information
ciju-nvidia committed Aug 8, 2023
1 parent fc37acd commit a13ba17
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 @@ -2199,7 +2199,7 @@ def _collect_hw_info(self):
# Find voltmon temp sensors
file_list = os.listdir("{}/thermal".format(self.cmd_arg[CONST.HW_MGMT_ROOT]))
for fname in file_list:
res = re.match(r'(voltmon[0-9]+_temp)_input', fname)
res = re.match(r'(voltmon[0-9]+_temp1)_input', fname)
if res:
self.voltmon_file_list.append(res.group(1))
self.log.info("voltmon count:{}".format(len(self.voltmon_file_list)))
Expand Down

0 comments on commit a13ba17

Please sign in to comment.