|
@@ -2015,7 +2015,10 @@ static int pmbus_init_common(struct i2c_client *client, struct pmbus_data *data,
|
|
if (ret >= 0 && (ret & PB_CAPABILITY_ERROR_CHECK))
|
|
if (ret >= 0 && (ret & PB_CAPABILITY_ERROR_CHECK))
|
|
client->flags |= I2C_CLIENT_PEC;
|
|
client->flags |= I2C_CLIENT_PEC;
|
|
|
|
|
|
- pmbus_clear_faults(client);
|
|
|
|
|
|
+ if (data->info->pages)
|
|
|
|
+ pmbus_clear_faults(client);
|
|
|
|
+ else
|
|
|
|
+ pmbus_clear_fault_page(client, -1);
|
|
|
|
|
|
if (info->identify) {
|
|
if (info->identify) {
|
|
ret = (*info->identify)(client, info);
|
|
ret = (*info->identify)(client, info);
|