diff options
author | amy.shih <amy.shih@advantech.com.tw> | 2019-09-19 06:02:05 +0300 |
---|---|---|
committer | Guenter Roeck <linux@roeck-us.net> | 2019-10-02 16:42:48 +0300 |
commit | 6bbfdcbc8e459acda67e32f520f7ecddc391afe9 (patch) | |
tree | d6c957c6cde720b744d719bed82b116852956470 /drivers/gpio/gpio-palmas.c | |
parent | b428db1e880d5f0f1cc22009974bee38a095284e (diff) | |
download | linux-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/gpio/gpio-palmas.c')
0 files changed, 0 insertions, 0 deletions