hwmon: (pmbus/ibm-cffps) Set the PMBUS_NO_CAPABILITY flag
authorEddie James <eajames@linux.ibm.com>
Tue, 22 Dec 2020 15:26:40 +0000 (09:26 -0600)
committerGuenter Roeck <linux@roeck-us.net>
Thu, 28 Jan 2021 01:44:18 +0000 (17:44 -0800)
commitf7a652182cc7f07cf658b8eee8d545ac109fd02e
treebab8e42ae79995e9968465594b91f4a016348127
parente5befc024cb4515d815662ed8746712cc5366bfc
hwmon: (pmbus/ibm-cffps) Set the PMBUS_NO_CAPABILITY flag

Several power supplies supported by the IBM CFFPS driver don't
report valid data in the CAPABILITY register. This results in PEC
being enabled when it's not supported by the device, and since
the automatic version detection might fail, disable use of the
CAPABILITY register across the board for this driver.

Signed-off-by: Eddie James <eajames@linux.ibm.com>
Link: https://lore.kernel.org/r/20201222152640.27749-3-eajames@linux.ibm.com
Signed-off-by: Guenter Roeck <linux@roeck-us.net>
drivers/hwmon/pmbus/ibm-cffps.c