commit | d934423ac26ed373dfe089734d505dca5ff679b6 | [log] [tgz] |
---|---|---|
author | Arnaud Patard (Rtp) <arnaud.patard@rtp-net.org> | Fri Aug 02 10:32:40 2019 +0200 |
committer | David S. Miller <davem@davemloft.net> | Mon Aug 05 13:30:48 2019 -0700 |
tree | 135a608c53807d3461e146a27aa6969822076e27 | |
parent | cd2063604ea6a8c2683b4eb9b5f4c4da74592d87 [diff] |
drivers/net/ethernet/marvell/mvmdio.c: Fix non OF case Orion5.x systems are still using machine files and not device-tree. Commit 96cb4342382290c9 ("net: mvmdio: allow up to three clocks to be specified for orion-mdio") has replaced devm_clk_get() with of_clk_get(), leading to a oops at boot and not working network, as reported in https://lists.debian.org/debian-arm/2019/07/msg00088.html and possibly in https://bugs.debian.org/cgi-bin/bugreport.cgi?bug=908712. Link: https://lists.debian.org/debian-arm/2019/07/msg00088.html Fixes: 96cb4342382290c9 ("net: mvmdio: allow up to three clocks to be specified for orion-mdio") Signed-off-by: Arnaud Patard <arnaud.patard@rtp-net.org> Reviewed-by: Andrew Lunn <andrew@lunn.ch> Signed-off-by: David S. Miller <davem@davemloft.net>