hwmon: (pmbus/max34440) Fix status register reads for MAX344{51,60,61}
authorGuenter Roeck <linux@roeck-us.net>
Thu, 17 Sep 2020 21:39:29 +0000 (14:39 -0700)
committerGuenter Roeck <linux@roeck-us.net>
Wed, 23 Sep 2020 16:39:40 +0000 (09:39 -0700)
commit6c094b31ea2ad773824362ba0fccb88d36f8d32d
tree454297b8ce50bb7a936b0dafe3a822510556a6b3
parentfcb575bfac80d6deb4940d2ebf506d6701761f38
hwmon: (pmbus/max34440) Fix status register reads for MAX344{51,60,61}

Starting with MAX34451, the chips of this series support STATUS_IOUT and
STATUS_TEMPERATURE commands, and no longer report over-current and
over-temperature status with STATUS_MFR_SPECIFIC.

Fixes: 7a001dbab4ade ("hwmon: (pmbus/max34440) Add support for MAX34451.")
Fixes: 50115ac9b6f35 ("hwmon: (pmbus/max34440) Add support for MAX34460 and MAX34461")
Reported-by: Steve Foreman <foremans@google.com>
Cc: Steve Foreman <foremans@google.com>
Signed-off-by: Guenter Roeck <linux@roeck-us.net>
drivers/hwmon/pmbus/max34440.c