]> 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:38:36 +0000 (12:38 +0100)
commit7138bc0c6c6a28b9d09ccd3c988e9918b54d184e
treedf70137a9094cb083222b097266749c7e5dc022e
parentec8f45ed3251674af1fe4512a72e860bb2ed24b8
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