diff options
author | Patrick Rudolph <patrick.rudolph@9elements.com> | 2023-08-17 11:25:25 +0200 |
---|---|---|
committer | Guenter Roeck <linux@roeck-us.net> | 2023-08-21 06:04:31 -0700 |
commit | 3fd2188e588ffd8d45df5ac92ab1089328211a86 (patch) | |
tree | c146960d70fb9e64a599b1b4146665b8eb0a10e8 /drivers/hwmon | |
parent | 14cf45f2f2d56adc061f7b8c9104b56db8d8cb60 (diff) |
hwmon: pmbus: Drop unnecessary clear fault page
The pmbus_check_byte_register function already calls clear
fault page, so there's no need to do it again in
pmbus_identify_common.
TEST: Verified using an I2C bus analyser to confirm that only
one clear fault page is being send instead of two in a row.
Signed-off-by: Patrick Rudolph <patrick.rudolph@9elements.com>
Signed-off-by: Naresh Solanki <Naresh.Solanki@9elements.com>
Link: https://lore.kernel.org/r/20230817092527.808631-2-Naresh.Solanki@9elements.com
Signed-off-by: Guenter Roeck <linux@roeck-us.net>
Diffstat (limited to 'drivers/hwmon')
-rw-r--r-- | drivers/hwmon/pmbus/pmbus_core.c | 1 |
1 files changed, 0 insertions, 1 deletions
diff --git a/drivers/hwmon/pmbus/pmbus_core.c b/drivers/hwmon/pmbus/pmbus_core.c index cbfabdd69056..1363d9f89181 100644 --- a/drivers/hwmon/pmbus/pmbus_core.c +++ b/drivers/hwmon/pmbus/pmbus_core.c @@ -2541,7 +2541,6 @@ static int pmbus_identify_common(struct i2c_client *client, } } - pmbus_clear_fault_page(client, page); return 0; } |