Commit 3fd2188e authored by Patrick Rudolph's avatar Patrick Rudolph Committed by Guenter Roeck
Browse files

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: default avatarPatrick Rudolph <patrick.rudolph@9elements.com>
Signed-off-by: default avatarNaresh Solanki <Naresh.Solanki@9elements.com>
Link: https://lore.kernel.org/r/20230817092527.808631-2-Naresh.Solanki@9elements.com


Signed-off-by: default avatarGuenter Roeck <linux@roeck-us.net>
parent 14cf45f2
Loading
Loading
Loading
Loading
+0 −1
Original line number Diff line number Diff line
@@ -2541,7 +2541,6 @@ static int pmbus_identify_common(struct i2c_client *client,
		}
	}

	pmbus_clear_fault_page(client, page);
	return 0;
}