diff options
author | Guenter Roeck <linux@roeck-us.net> | 2021-05-26 08:40:20 -0700 |
---|---|---|
committer | Guenter Roeck <linux@roeck-us.net> | 2021-06-17 04:21:46 -0700 |
commit | 2013607b85f03ff24a5a19933705905a1b324a31 (patch) | |
tree | 07f2a2fef95139bd5e97d111cd5caedd3ceb9899 /drivers/char/agp | |
parent | 148c847c9e5a54b99850617bf9c143af9a344f92 (diff) |
hwmon: (max31790) Clear fan fault after reporting it
Fault bits in MAX31790 are sticky and have to be cleared explicitly.
A write operation into either the 'Target Duty Cycle' register or the
'Target Count' register is necessary to clear a fault.
At the same time, we can never clear cached fault status values before
reading them because the companion fault status for any given fan is
cleared as well when clearing a fault.
Cc: Jan Kundrát <jan.kundrat@cesnet.cz>
Cc: Václav Kubernát <kubernat@cesnet.cz>
Signed-off-by: Guenter Roeck <linux@roeck-us.net>
Tested-by: Václav Kubernát <kubernat@cesnet.cz>
Link: https://lore.kernel.org/r/20210526154022.3223012-6-linux@roeck-us.net
Diffstat (limited to 'drivers/char/agp')
0 files changed, 0 insertions, 0 deletions