Commit 4aabed69 authored by Josua Mayer's avatar Josua Mayer Committed by David S. Miller

net: mvmdio: allow up to four clocks to be specified for orion-mdio

Allow up to four clocks to be specified and enabled for the orion-mdio
interface, which are required by the Armada 8k and defined in
armada-cp110.dtsi.

Fixes a hang in probing the mvmdio driver that was encountered on the
Clearfog GT 8K with all drivers built as modules, but also affects other
boards such as the MacchiatoBIN.

Cc: stable@vger.kernel.org
Fixes: 96cb4342 ("net: mvmdio: allow up to three clocks to be specified for orion-mdio")
Reviewed-by: default avatarAndrew Lunn <andrew@lunn.ch>
Signed-off-by: default avatarJosua Mayer <josua@solid-run.com>
Signed-off-by: default avatarDavid S. Miller <davem@davemloft.net>
parent 80785f5a
...@@ -64,7 +64,7 @@ ...@@ -64,7 +64,7 @@
struct orion_mdio_dev { struct orion_mdio_dev {
void __iomem *regs; void __iomem *regs;
struct clk *clk[3]; struct clk *clk[4];
/* /*
* If we have access to the error interrupt pin (which is * If we have access to the error interrupt pin (which is
* somewhat misnamed as it not only reflects internal errors * somewhat misnamed as it not only reflects internal errors
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment