]> git.baikalelectronics.ru Git - kernel.git/commit
hwmon: (ltc4245) Clear faults at startup
authorIra W. Snyder <iws@ovro.caltech.edu>
Wed, 23 Sep 2009 20:59:44 +0000 (22:59 +0200)
committerJean Delvare <khali@linux-fr.org>
Wed, 23 Sep 2009 20:59:44 +0000 (22:59 +0200)
commite6a6008823b9ef45c067723f7fffe24b8efe1afb
tree2a2dd026a39a610565e4b715272afa4c86142281
parente8b19f86532535af9cc68c37603c5e5e6622b0c9
hwmon: (ltc4245) Clear faults at startup

When power is applied to the ltc4245 chip it sometimes reports spurious
faults, which are exposed as alarms in the hwmon output. Clear the fault
register when the driver is installed to clear the alarms.

Signed-off-by: Ira W. Snyder <iws@ovro.caltech.edu>
Signed-off-by: Jean Delvare <khali@linux-fr.org>
drivers/hwmon/ltc4245.c