aboutsummaryrefslogtreecommitdiff
path: root/drivers/phy/ti
diff options
context:
space:
mode:
authorAswath Govindraju <a-govindraju@ti.com>2022-01-28 13:41:37 +0530
committerTom Rini <trini@konsulko.com>2022-02-08 11:00:03 -0500
commitff0becea71bd3ad3933aeb17f5773750d3483e31 (patch)
treedfd384106d3058bcc359b272d7e5a9f429df67ec /drivers/phy/ti
parentdd75927059c51f1e1e9d443c8a3e78254ca2d4ab (diff)
downloadu-boot-ff0becea71bd3ad3933aeb17f5773750d3483e31.zip
u-boot-ff0becea71bd3ad3933aeb17f5773750d3483e31.tar.gz
u-boot-ff0becea71bd3ad3933aeb17f5773750d3483e31.tar.bz2
phy: ti: phy-j721e-wiz.c: Fix the condition for setting P_ENABLE_FORCE
Fix the condition for setting P_ENABLE_FORCE bit, by syncing with the driver in kernel. Signed-off-by: Aswath Govindraju <a-govindraju@ti.com>
Diffstat (limited to 'drivers/phy/ti')
-rw-r--r--drivers/phy/ti/phy-j721e-wiz.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/drivers/phy/ti/phy-j721e-wiz.c b/drivers/phy/ti/phy-j721e-wiz.c
index d74efcd..686cdc6 100644
--- a/drivers/phy/ti/phy-j721e-wiz.c
+++ b/drivers/phy/ti/phy-j721e-wiz.c
@@ -523,7 +523,7 @@ static int wiz_reset_deassert(struct reset_ctl *reset_ctl)
return ret;
}
- if (wiz->lane_phy_type[id - 1] == PHY_TYPE_PCIE)
+ if (wiz->lane_phy_type[id - 1] == PHY_TYPE_DP)
ret = regmap_field_write(wiz->p_enable[id - 1], P_ENABLE);
else
ret = regmap_field_write(wiz->p_enable[id - 1], P_ENABLE_FORCE);