diff options
author | Grygorii Strashko | 2019-09-19 11:16:40 +0300 |
---|---|---|
committer | Tom Rini | 2019-11-03 09:36:06 -0500 |
commit | a3c867a217b021e92f5e3afd2bb1415ffd28d0d7 (patch) | |
tree | 05f78a70d796380ead7ea9a5dc75fc27a436fb4e /drivers/net/ti/cpsw.c | |
parent | 3c57b620db1764335caaba0367e46b058ff9d724 (diff) |
net: ti: cpsw: fix mac tx internal delay for rgmii-rxid mode
Now TI CPSW driver will disable MAC TX internal delay for PHY interface
mode "rgmii-rxid" which is incorrect.
Hence, fix it by keeping default value (enabled) for MAC TX internal delay
when "rgmii-rxid" interface mode is selected.
Signed-off-by: Grygorii Strashko <grygorii.strashko@ti.com>
Diffstat (limited to 'drivers/net/ti/cpsw.c')
-rw-r--r-- | drivers/net/ti/cpsw.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/drivers/net/ti/cpsw.c b/drivers/net/ti/cpsw.c index 24265360e64..408983401f4 100644 --- a/drivers/net/ti/cpsw.c +++ b/drivers/net/ti/cpsw.c @@ -1072,10 +1072,10 @@ static void cpsw_gmii_sel_am3352(struct cpsw_priv *priv, break; case PHY_INTERFACE_MODE_RGMII: + case PHY_INTERFACE_MODE_RGMII_RXID: mode = AM33XX_GMII_SEL_MODE_RGMII; break; case PHY_INTERFACE_MODE_RGMII_ID: - case PHY_INTERFACE_MODE_RGMII_RXID: case PHY_INTERFACE_MODE_RGMII_TXID: mode = AM33XX_GMII_SEL_MODE_RGMII; rgmii_id = true; |