diff options
author | Patrick Rudolph <[email protected]> | 2023-08-17 11:25:24 +0200 |
---|---|---|
committer | Guenter Roeck <[email protected]> | 2023-08-21 06:04:31 -0700 |
commit | 14cf45f2f2d56adc061f7b8c9104b56db8d8cb60 (patch) | |
tree | 6be569824cac1882389e2e5426f6f21334326455 /tools/testing/selftests/bpf/prog_tests/autoload.c | |
parent | 7d9be29d8382030266c88a732a82d3bbc6fb0c5f (diff) |
hwmon: pmbus: Reduce clear fault page invocations
Observing I2C traffic revealed consecutive transmission of CLEAR_FAULT
commands. While this doesn't cause issues, it extends driver probe time.
Avoid invoking pmbus_clear_fault_page for virtual registers, as they're
managed by the driver, not the chip.
TEST: Verified using an I2C bus analyzer that only one CLEAR_FAULT
command is send instead 5 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]>
Diffstat (limited to 'tools/testing/selftests/bpf/prog_tests/autoload.c')
0 files changed, 0 insertions, 0 deletions