Skip to content

Commit

Permalink
net: stmmac: dwmac-rk: Remove unwanted code for rk3328_set_to_rmii()
Browse files Browse the repository at this point in the history
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>
  • Loading branch information
David Wu authored and David S. Miller committed Aug 11, 2017
1 parent 6b49668 commit e7aa4c0
Showing 1 changed file with 0 additions and 3 deletions.
3 changes: 0 additions & 3 deletions drivers/net/ethernet/stmicro/stmmac/dwmac-rk.c
Original file line number Diff line number Diff line change
@@ -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)

0 comments on commit e7aa4c0

Please sign in to comment.