]> git.baikalelectronics.ru Git - kernel.git/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:44:04 +0000 (12:44 +0100)
commit73e8b4c6f50514853d24de1f94846b5719e213b1
tree5ce90c2766686de92573f993820b1a4da9ddc823
parent36871fb08c0ee138c4cd5cef5c3502bc921f8c7a
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