diff options
author | Shaohui Xie <Shaohui.Xie@freescale.com> | 2014-12-30 09:28:21 +0100 |
---|---|---|
committer | David S. Miller <davem@davemloft.net> | 2015-01-02 21:39:49 +0100 |
commit | 05930b5ec1d3b2a5c76e1959b54cae15587009c7 (patch) | |
tree | 4dafabc9d98fee5e255986dfdc7209767edae45c /net/ethernet | |
parent | net/fsl: remove irq assignment from xgmac_mdio (diff) | |
download | linux-05930b5ec1d3b2a5c76e1959b54cae15587009c7.tar.xz linux-05930b5ec1d3b2a5c76e1959b54cae15587009c7.zip |
net/fsl: remove hardcoded clock setting from xgmac_mdio
There is no need to set the clock speed in read/write which will be performed
unnecessarily for each mdio access. Init it during probe is enough.
Also, the hardcoded clock value is not a proper way for all SoCs.
Signed-off-by: Shaohui Xie <Shaohui.Xie@freescale.com>
Signed-off-by: David S. Miller <davem@davemloft.net>
Diffstat (limited to 'net/ethernet')
0 files changed, 0 insertions, 0 deletions