phy: st: miphy28lp: use _poll_timeout functions for waits
authorAlain Volmat <avolmat@me.com>
Fri, 10 Feb 2023 22:43:08 +0000 (23:43 +0100)
committerVinod Koul <vkoul@kernel.org>
Mon, 20 Mar 2023 12:44:59 +0000 (18:14 +0530)
commite3be4dd2c8d8aabfd2c3127d0e2e5754d3ae82d6
tree618ca3fcce0847bad6d4cc93bb1924a11954e4eb
parent8b798761243bf854cbf706fcfc21798726ff587a
phy: st: miphy28lp: use _poll_timeout functions for waits

This commit introduces _poll_timeout functions usage instead of
wait loops waiting for a status bit.

Signed-off-by: Alain Volmat <avolmat@me.com>
Reviewed-by: Patrice Chotard <patrice.chotard@foss.st.com>
Link: https://lore.kernel.org/r/20230210224309.98452-1-avolmat@me.com
Signed-off-by: Vinod Koul <vkoul@kernel.org>
drivers/phy/st/phy-miphy28lp.c