diff options
author | 2016-06-24 21:23:49 +0300 | |
---|---|---|
committer | 2016-06-28 08:57:19 -0400 | |
commit | 28f0ccb9958f54d9f4e7ebcf09b400304d8ba7cb (patch) | |
tree | 4cdecd94e9a925f78c929c0c89ae09ee1c95b5f2 /net/tipc | |
parent | drivers: net: davinci_mdio: drop suspended and lock fields from mdio_data (diff) | |
download | linux-dev-28f0ccb9958f54d9f4e7ebcf09b400304d8ba7cb.tar.xz linux-dev-28f0ccb9958f54d9f4e7ebcf09b400304d8ba7cb.zip |
drivers: net: davinci_mdio: split reset function on init_clk and enable
The Davinci MDIO MDIO_CONTROL.CLKDIV can be calculated only once
during probe, hence split __davinci_mdio_reset() on
davinci_mdio_init_clk() and davinci_mdio_enable(). Initialize and
save CLKDIV in .probe(). Then just use saved value.
Signed-off-by: Grygorii Strashko <grygorii.strashko@ti.com>
Signed-off-by: David S. Miller <davem@davemloft.net>
Diffstat (limited to 'net/tipc')
0 files changed, 0 insertions, 0 deletions