]> git.baikalelectronics.ru Git - kernel.git/commit
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)
commit0a4724872f00fbb769b47f036cb092b911b55ab9
tree43f63e5d2030c729e232511b4adc8a4a0c4bfc43
parentb5f3be3b9f436f009235197f1b5a25ad9af8e7e5
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: be50ea088228 ("hwmon: (pmbus) Add IBM Common Form Factor (CFF) ...")
Signed-off-by: Guenter Roeck <linux@roeck-us.net>
drivers/hwmon/pmbus/ibm-cffps.c