Commit 7b9e1094 authored by Max Uvarov's avatar Max Uvarov Committed by Greg Kroah-Hartman
Browse files

net: phy: dp83867: Set up RGMII TX delay

[ Upstream commit 2b892649 ]

so code to set tx delay is never called.

Fixes: 2a10154a

 ("net: phy: dp83867: Add TI dp83867 phy")
Signed-off-by: default avatarMax Uvarov <>
Cc: Florian Fainelli <>
Reviewed-by: default avatarFlorian Fainelli <>
Signed-off-by: default avatarDavid S. Miller <>
Signed-off-by: default avatarSasha Levin <>
parent 7698ad8c
......@@ -260,10 +260,8 @@ static int dp83867_config_init(struct phy_device *phydev)
ret = phy_write(phydev, MII_DP83867_PHYCTRL, val);
if (ret)
return ret;
if ((phydev->interface >= PHY_INTERFACE_MODE_RGMII_ID) &&
(phydev->interface <= PHY_INTERFACE_MODE_RGMII_RXID)) {
/* Set up RGMII delays */
val = phy_read_mmd(phydev, DP83867_DEVADDR, DP83867_RGMIICTL);
if (phydev->interface == PHY_INTERFACE_MODE_RGMII_ID)
Supports Markdown
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment