phy: ti: j721e-wiz: Configure 'p_standard_mode' only for DP/QSGMII
authorKishon Vijay Abraham I <kishon@ti.com>
Wed, 31 Mar 2021 13:14:17 +0000 (18:44 +0530)
committerVinod Koul <vkoul@kernel.org>
Wed, 31 Mar 2021 15:41:46 +0000 (21:11 +0530)
commit36a813839cdee99c87e17a2d52a009b5517d54a9
treef0b3a660d75440858523da5d2eb9f75f10a085dd
parentd57cd79db1a3c147b63fb0c64ccd26855eb8f86e
phy: ti: j721e-wiz: Configure 'p_standard_mode' only for DP/QSGMII

Configure 'p_standard_mode' only for DP/QSGMII as for other modes
it's not used as per the programming sequence. Add "continue" in the
else to prevent random value from being written to p_standard_mode.

Signed-off-by: Kishon Vijay Abraham I <kishon@ti.com>
Link: https://lore.kernel.org/r/20210331131417.15596-1-kishon@ti.com
Signed-off-by: Vinod Koul <vkoul@kernel.org>
drivers/phy/ti/phy-j721e-wiz.c