nct7802.c bug : in4_input index is not 17 but 16

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



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.



[Index of Archives]     [LM Sensors]     [Linux Sound]     [ALSA Users]     [ALSA Devel]     [Linux Audio Users]     [Linux Media]     [Kernel]     [Gimp]     [Yosemite News]     [Linux Media]

  Powered by Linux