hwmon: (pmbus) cffps: Add PMBUS_SKIP_STATUS_CHECK
authorEddie James <eajames@linux.vnet.ibm.com>
Mon, 8 Jan 2018 21:10:09 +0000 (15:10 -0600)
committerGuenter Roeck <linux@roeck-us.net>
Mon, 8 Jan 2018 21:29:10 +0000 (13:29 -0800)
commit4471879acf926221231fe68ebc30f9cad0d7f7c8
tree43f63e5d2030c729e232511b4adc8a4a0c4bfc43
parent18c514cc0e0278b7852a6741973a9523ad012700
hwmon: (pmbus) cffps: Add PMBUS_SKIP_STATUS_CHECK

This power supply device regularly fails to read VOUT_MODE due to the
CML bit going high. This results in an incorrect exponent used for the
voltage data, and therefore the power supply reports incorrect voltage.
Work around this by setting the pmbus flag to skip the CML check.

Signed-off-by: Eddie James <eajames@linux.vnet.ibm.com>
Fixes: f69316d62c70 ("hwmon: (pmbus) Add IBM Common Form Factor (CFF) ...")
Signed-off-by: Guenter Roeck <linux@roeck-us.net>
drivers/hwmon/pmbus/ibm-cffps.c