diff options
author | Calvin Johnson <calvin.johnson@nxp.com> | 2017-10-16 08:13:15 (GMT) |
---|---|---|
committer | Xie Xiaobo <xiaobo.xie@nxp.com> | 2017-12-12 07:32:30 (GMT) |
commit | 0e9c873a5149ec575f501f4e3dfaa630d6a748da (patch) | |
tree | 44bd138142c4ad0bc784ee16f4cabe072bef33cd /drivers | |
parent | c046ea9d2fd2d2ab83d31587efd5d6d56063e5b0 (diff) | |
download | linux-0e9c873a5149ec575f501f4e3dfaa630d6a748da.tar.xz |
staging: fsl_ppfe/eth: fix RGMII tx delay issue
Recently logic to enable RGMII tx delay was changed by
below patch.
https://patchwork.kernel.org/patch/9447581/
Based on the patch, appropriate change is made in PFE driver.
Signed-off-by: Calvin Johnson <calvin.johnson@nxp.com>
Signed-off-by: Anjaneyulu Jagarlmudi <anji.jagarlmudi@nxp.com>
Diffstat (limited to 'drivers')
-rw-r--r-- | drivers/staging/fsl_ppfe/pfe_eth.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/drivers/staging/fsl_ppfe/pfe_eth.c b/drivers/staging/fsl_ppfe/pfe_eth.c index 4ba886d..02cd7c5 100644 --- a/drivers/staging/fsl_ppfe/pfe_eth.c +++ b/drivers/staging/fsl_ppfe/pfe_eth.c @@ -1068,7 +1068,7 @@ static void pfe_eth_adjust_link(struct net_device *ndev) new_state = 1; gemac_set_speed(priv->EMAC_baseaddr, pfe_get_phydev_speed(phydev)); - if (priv->einfo->mii_config == PHY_INTERFACE_MODE_RGMII) + if (priv->einfo->mii_config == PHY_INTERFACE_MODE_RGMII_TXID) pfe_set_rgmii_speed(phydev); priv->oldspeed = phydev->speed; } |