diff options
author | David Wu <david.wu@rock-chips.com> | 2017-08-10 16:56:43 +0300 |
---|---|---|
committer | David S. Miller <davem@davemloft.net> | 2017-08-12 00:28:58 +0300 |
commit | e7aa4c07462eb5dc165d7dd625c982006c27bfcc (patch) | |
tree | ef0f4877e74fb608a1180812840a398287ca1872 /drivers | |
parent | 6b49668e17250879119fc400b68b667c703e1775 (diff) | |
download | linux-e7aa4c07462eb5dc165d7dd625c982006c27bfcc.tar.xz |
net: stmmac: dwmac-rk: Remove unwanted code for rk3328_set_to_rmii()
This is wrong setting for rk3328_set_to_rmii(), so remove it.
Signed-off-by: David Wu <david.wu@rock-chips.com>
Signed-off-by: David S. Miller <davem@davemloft.net>
Diffstat (limited to 'drivers')
-rw-r--r-- | drivers/net/ethernet/stmicro/stmmac/dwmac-rk.c | 3 |
1 files changed, 0 insertions, 3 deletions
diff --git a/drivers/net/ethernet/stmicro/stmmac/dwmac-rk.c b/drivers/net/ethernet/stmicro/stmmac/dwmac-rk.c index f0df5193f047..a8e8fd579d07 100644 --- a/drivers/net/ethernet/stmicro/stmmac/dwmac-rk.c +++ b/drivers/net/ethernet/stmicro/stmmac/dwmac-rk.c @@ -365,9 +365,6 @@ static void rk3328_set_to_rmii(struct rk_priv_data *bsp_priv) regmap_write(bsp_priv->grf, RK3328_GRF_MAC_CON1, RK3328_GMAC_PHY_INTF_SEL_RMII | RK3328_GMAC_RMII_MODE); - - /* set MAC to RMII mode */ - regmap_write(bsp_priv->grf, RK3328_GRF_MAC_CON1, GRF_BIT(11)); } static void rk3328_set_rgmii_speed(struct rk_priv_data *bsp_priv, int speed) |