Message ID | 20210308225419.46530-31-eajames@linux.ibm.com |
---|---|
State | New |
Headers | show |
Series | Rainier and Everest system updates | expand |
On Mon, 8 Mar 2021 at 22:56, Eddie James <eajames@linux.ibm.com> wrote: > > 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> I have applied the commits to this driver that have been made upstream: f7a652182cc7 hwmon: (pmbus/ibm-cffps) Set the PMBUS_NO_CAPABILITY flag 3bce071a301f hwmon: (pmbus) shrink code and remove pmbus_do_remove() > --- > drivers/hwmon/pmbus/ibm-cffps.c | 2 +- > 1 file changed, 1 insertion(+), 1 deletion(-) > > diff --git a/drivers/hwmon/pmbus/ibm-cffps.c b/drivers/hwmon/pmbus/ibm-cffps.c > index 2fb7540ee952..f7bb7bebe045 100644 > --- a/drivers/hwmon/pmbus/ibm-cffps.c > +++ b/drivers/hwmon/pmbus/ibm-cffps.c > @@ -472,7 +472,7 @@ static struct pmbus_driver_info ibm_cffps_info[] = { > }; > > static struct pmbus_platform_data ibm_cffps_pdata = { > - .flags = PMBUS_SKIP_STATUS_CHECK, > + .flags = PMBUS_SKIP_STATUS_CHECK | PMBUS_NO_CAPABILITY, > }; > > static int ibm_cffps_probe(struct i2c_client *client) > -- > 2.27.0 >
diff --git a/drivers/hwmon/pmbus/ibm-cffps.c b/drivers/hwmon/pmbus/ibm-cffps.c index 2fb7540ee952..f7bb7bebe045 100644 --- a/drivers/hwmon/pmbus/ibm-cffps.c +++ b/drivers/hwmon/pmbus/ibm-cffps.c @@ -472,7 +472,7 @@ static struct pmbus_driver_info ibm_cffps_info[] = { }; static struct pmbus_platform_data ibm_cffps_pdata = { - .flags = PMBUS_SKIP_STATUS_CHECK, + .flags = PMBUS_SKIP_STATUS_CHECK | PMBUS_NO_CAPABILITY, }; static int ibm_cffps_probe(struct i2c_client *client)