Skip to content

Commit 3fd2188

Browse files
PatrickRudolphgroeck
authored andcommitted
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>
1 parent 14cf45f commit 3fd2188

1 file changed

Lines changed: 0 additions & 1 deletion

File tree

drivers/hwmon/pmbus/pmbus_core.c

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -2541,7 +2541,6 @@ static int pmbus_identify_common(struct i2c_client *client,
25412541
}
25422542
}
25432543

2544-
pmbus_clear_fault_page(client, page);
25452544
return 0;
25462545
}
25472546

0 commit comments

Comments
 (0)