]> git.proxmox.com Git - mirror_ubuntu-jammy-kernel.git/commit
net: ethernet: arc: Probe emac after set RMII clock
authorXing Zheng <zhengxing@rock-chips.com>
Fri, 8 Jan 2016 01:35:00 +0000 (09:35 +0800)
committerDavid S. Miller <davem@davemloft.net>
Mon, 11 Jan 2016 03:21:31 +0000 (22:21 -0500)
commitc9bca2fe3ca6d6dac2a27eb8619955648369efed
treeac3bda6a929df87dbfcbade5e7927810758489dd
parent0652cb5b8b228db53b686c735c64bdb9071979de
net: ethernet: arc: Probe emac after set RMII clock

After enter arc_emac_probe, emac will get_phy_id, phy_poll_reset and
other connecting PHY via mdiobus_read, so we need to set correct
ref clock rate for emac before probe emac.

Signed-off-by: Xing Zheng <zhengxing@rock-chips.com>
Signed-off-by: David S. Miller <davem@davemloft.net>
drivers/net/ethernet/arc/emac_rockchip.c