summaryrefslogtreecommitdiff
path: root/drivers/pnp
diff options
context:
space:
mode:
authoramy.shih <amy.shih@advantech.com.tw>2019-09-19 06:02:05 +0300
committerGuenter Roeck <linux@roeck-us.net>2019-10-02 16:42:48 +0300
commit6bbfdcbc8e459acda67e32f520f7ecddc391afe9 (patch)
treed6c957c6cde720b744d719bed82b116852956470 /drivers/pnp
parentb428db1e880d5f0f1cc22009974bee38a095284e (diff)
downloadlinux-6bbfdcbc8e459acda67e32f520f7ecddc391afe9.tar.xz
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 'drivers/pnp')
0 files changed, 0 insertions, 0 deletions