[PATCH 0/3] pmbus: Fix error propagation for register check functions
Andrew Jeffery
andrew at aj.id.au
Tue Sep 5 17:28:25 AEST 2017
Hello,
This series resolves an issue with pmbus functions such as
pmbus_check_byte_register() not reporting errors triggered by the PAGE command.
Currently such an error is interpreted as the device not supporting the
command, rather than exposing the problem that occurred.
The first patch has been sent upstream:
https://lkml.org/lkml/2017/9/5/53
The second and third patches resolve fallout from the first patch with the
MAX31785 driver. The fallout primarily surrounds the driver's unusual use of
virtual pages.
Andrew Jeffery (3):
hwmon: pmbus: Make reg check and clear faults functions return errors
hwmon: pmbus: Add set_page() callback
pmbus: max31785: Add handler for set_page() and PMBUS_CLEAR_FAULTS
virt pages
Documentation/hwmon/pmbus-core | 12 ++--
drivers/hwmon/pmbus/max31785.c | 13 ++++
drivers/hwmon/pmbus/pmbus.h | 7 ++-
drivers/hwmon/pmbus/pmbus_core.c | 132 ++++++++++++++++++++++++++++++---------
4 files changed, 125 insertions(+), 39 deletions(-)
--
2.11.0
More information about the openbmc
mailing list