diff options
author | Dmitry Bazhenov <bazhenov.dn@gmail.com> | 2018-10-15 14:21:22 +0500 |
---|---|---|
committer | Greg Kroah-Hartman <gregkh@linuxfoundation.org> | 2018-11-13 11:14:45 -0800 |
commit | 0be4ef1290cfe370caf52e3dac2325cf7ee12007 (patch) | |
tree | c2154122f93da4531738f4d6cd6236f44f13c456 /CREDITS | |
parent | dcd048d6bb08d3da1e9cb1923bce80dbc0f90fed (diff) |
hwmon: (pmbus) Fix page count auto-detection.
commit e7c6a55606b5c46b449d76588968b4d8caae903f upstream.
Devices with compatible="pmbus" field have zero initial page count,
and pmbus_clear_faults() being called before the page count auto-
detection does not actually clear faults because it depends on the
page count. Non-cleared faults in its turn may fail the subsequent
page count auto-detection.
This patch fixes this problem by calling pmbus_clear_fault_page()
for currently set page and calling pmbus_clear_faults() after the
page count was detected.
Cc: stable@vger.kernel.org
Signed-off-by: Dmitry Bazhenov <bazhenov.dn@gmail.com>
Signed-off-by: Guenter Roeck <linux@roeck-us.net>
Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
Diffstat (limited to 'CREDITS')
0 files changed, 0 insertions, 0 deletions