Hi,

Bug description :
The "in4" related entries in structure nct7802_in_attrs start at index 16, not 
17 (the comment is wrong here)
Also nct7802_in_is_visible() should use 16 instead of 17 for the same reason 
(two occurences)

Impact of this bug :
- when RTD3_MD=11 (VSEN3 present), everything is as expected (no bug)
- but if we have RTD3_MD!=11 (no VSEN3), we unexpectedly have a in4_input file 
under /sys and the command "sensors" displays the 
in4_input. But as expected, we have no in4_min, in4_max, in4_alarm, in4_beep.

Best regards

Gilles BULOZ
Senior software(/hardware) engineer | R&D
Kontron Modular Computers S.A.S.

Reply via email to