Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
hw-mgmt: infra: Optimize PSU init time
For PSU on udev event we have a delay 2 sec which is needed to allow PSU controller to stabilize. This delay of 2 sec can be too much. In this change, we replaced constant delay to PSU attribute polling, which can help us to get the exact time when PSU is ready and reduce wait time for PSU attributes init. Signed-off-by: Oleksandr Shamray <[email protected]>
- Loading branch information