summaryrefslogtreecommitdiff
path: root/usr
diff options
context:
space:
mode:
authorVikash Chandola <vikash.chandola@linux.intel.com>2022-02-22 16:12:53 +0300
committerGuenter Roeck <linux@roeck-us.net>2022-02-22 19:15:39 +0300
commit35f165f08950a876f1b95a61d79c93678fba2fd6 (patch)
treed1cd829ca023238c917242c52294652da0fa828c /usr
parent1b5f517cca36292076d9e38fa6e33a257703e62e (diff)
downloadlinux-35f165f08950a876f1b95a61d79c93678fba2fd6.tar.xz
hwmon: (pmbus) Clear pmbus fault/warning bits after read
Almost all fault/warning bits in pmbus status registers remain set even after fault/warning condition are removed. As per pmbus specification these faults must be cleared by user. Modify hwmon behavior to clear fault/warning bit after fetching data if fault/warning bit was set. This allows to get fresh data in next read. Signed-off-by: Vikash Chandola <vikash.chandola@linux.intel.com> Link: https://lore.kernel.org/r/20220222131253.2426834-1-vikash.chandola@linux.intel.com Signed-off-by: Guenter Roeck <linux@roeck-us.net>
Diffstat (limited to 'usr')
0 files changed, 0 insertions, 0 deletions