Commit 67244ed
committed
hw-mgmt: scripts: Fix for sodimm temp attribute
In the smart switch, the DPUs are having tmp421 sensor
at slave address 0x1f. Sodimm temperature sensors have 0x1f
as one of the supported slave addresses. During the dpu
poweroff, udev events are sent for removing [18-21]-001f
tmp421 sensor attributes. In the thermal-events script,
sodimm attributes are also removed as the slave address
is matching. This commit introduces a check to see if
the device name is 'jc42' before removing any sodimm sensor
attributes.
Bugs #4691599
Signed-off-by: Ciju Rajan K <[email protected]>1 parent f62cc01 commit 67244ed
1 file changed
+4
-0
lines changed| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
1463 | 1463 | | |
1464 | 1464 | | |
1465 | 1465 | | |
| 1466 | + | |
| 1467 | + | |
| 1468 | + | |
| 1469 | + | |
1466 | 1470 | | |
1467 | 1471 | | |
1468 | 1472 | | |
| |||
0 commit comments