]> git.ipfire.org Git - thirdparty/kernel/stable.git/commit
net: mvmdio: allow up to four clocks to be specified for orion-mdio
authorJosua Mayer <josua@solid-run.com>
Tue, 9 Jul 2019 13:00:59 +0000 (15:00 +0200)
committerDavid S. Miller <davem@davemloft.net>
Tue, 9 Jul 2019 20:03:04 +0000 (13:03 -0700)
commit4aabed699c400810981d3dda170f05fa4d782905
treed1cda5cc4b5a9686e424b0ab0a946da96c5082ee
parent80785f5a22e9073e2ded5958feb7f220e066d17b
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: 96cb43423822 ("net: mvmdio: allow up to three clocks to be specified for orion-mdio")
Reviewed-by: Andrew Lunn <andrew@lunn.ch>
Signed-off-by: Josua Mayer <josua@solid-run.com>
Signed-off-by: David S. Miller <davem@davemloft.net>
drivers/net/ethernet/marvell/mvmdio.c