]> git.itanic.dy.fi Git - linux-stable/commit
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)
committerGreg Kroah-Hartman <gregkh@linuxfoundation.org>
Tue, 30 May 2023 11:42:10 +0000 (12:42 +0100)
commite5fcae8b533cb3b7dc8cd3a5a03e5ef254a46630
treed189e9436c98f4cb11df7d9817a9448007bc3300
parentf8975683499d1eb87766c1ef31f83b9b84bd1c81
phy: st: miphy28lp: use _poll_timeout functions for waits

[ Upstream commit e3be4dd2c8d8aabfd2c3127d0e2e5754d3ae82d6 ]

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>
Signed-off-by: Sasha Levin <sashal@kernel.org>
drivers/phy/st/phy-miphy28lp.c