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 <[email protected]> Signed-off-by: Naresh Solanki <[email protected]> Link: https://lore.kernel.org/r/[email protected] Signed-off-by: Guenter Roeck <[email protected]>
1 parent 14cf45f commit 3fd2188

File tree

1 file changed

+0
-1
lines changed

1 file changed

+0
-1
lines changed

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)