summaryrefslogtreecommitdiffstats
path: root/net
diff options
context:
space:
mode:
authoramy.shih <amy.shih@advantech.com.tw>2019-09-19 11:02:05 +0800
committerGuenter Roeck <linux@roeck-us.net>2019-10-02 06:42:48 -0700
commit6bbfdcbc8e459acda67e32f520f7ecddc391afe9 (patch)
treed6c957c6cde720b744d719bed82b116852956470 /net
parentb428db1e880d5f0f1cc22009974bee38a095284e (diff)
downloadlinux-stable-6bbfdcbc8e459acda67e32f520f7ecddc391afe9.tar.gz
linux-stable-6bbfdcbc8e459acda67e32f520f7ecddc391afe9.tar.bz2
linux-stable-6bbfdcbc8e459acda67e32f520f7ecddc391afe9.zip
hwmon: (nct7904) Add array fan_alarm and vsen_alarm to store the alarms in nct7904_data struct.
SMI# interrupt for fan and voltage is Two-Times Interrupt Mode. Fan or voltage exceeds high limit or going below low limit, it will causes an interrupt if the previous interrupt has been reset by reading all the interrupt Status Register. Thus, add the array fan_alarm and vsen_alarm to store the alarms for all of the fan and voltage sensors. Signed-off-by: amy.shih <amy.shih@advantech.com.tw> Link: https://lore.kernel.org/r/20190919030205.11440-1-Amy.Shih@advantech.com.tw Fixes: 486842db3b79 ("hwmon: (nct7904) Add extra sysfs support for fan, voltage and temperature.") Signed-off-by: Guenter Roeck <linux@roeck-us.net>
Diffstat (limited to 'net')
0 files changed, 0 insertions, 0 deletions