OSDN Git Service

phy: cadence-torrent: Check PIPE mode PHY status to be ready for operation
authorSwapnil Jakhade <sjakhade@cadence.com>
Wed, 28 Jul 2021 14:54:54 +0000 (16:54 +0200)
committerVinod Koul <vkoul@kernel.org>
Tue, 17 Aug 2021 10:12:44 +0000 (15:42 +0530)
commit48ac6085bdfcf568e24c1efd45615ec3d5d3545b
treecfdd655b418d6f0ceaa2065a493667f04ac0d49f
parent84f55df836916be2b052a5000cca8d7d9fcf2520
phy: cadence-torrent: Check PIPE mode PHY status to be ready for operation

PIPE PHY status is used to communicate the completion of several PHY
functions. Check if PHY is ready for operation while configured for
PIPE mode during startup.

Signed-off-by: Swapnil Jakhade <sjakhade@cadence.com>
Link: https://lore.kernel.org/r/20210728145454.15945-10-sjakhade@cadence.com
Signed-off-by: Vinod Koul <vkoul@kernel.org>
drivers/phy/cadence/phy-cadence-torrent.c