net: mvmdio: print warning when orion-mdio has too many clocks
authorJosua Mayer <josua@solid-run.com>
Tue, 9 Jul 2019 13:01:00 +0000 (15:01 +0200)
committerDavid S. Miller <davem@davemloft.net>
Tue, 9 Jul 2019 20:03:04 +0000 (13:03 -0700)
commitea664b1bdc19f3884f9d2966b106b3ca8d253426
tree6613381ca0122a7aff81be069b65a642c4950cd8
parent4aabed699c400810981d3dda170f05fa4d782905
net: mvmdio: print warning when orion-mdio has too many clocks

Print a warning when device tree specifies more than the maximum of four
clocks supported by orion-mdio. Because reading from mdio can lock up
the Armada 8k when a required clock is not initialized, it is important
to notify the user when a specified clock is ignored.

Signed-off-by: Josua Mayer <josua@solid-run.com>
Reviewed-by: Andrew Lunn <andrew@lunn.ch>
Signed-off-by: David S. Miller <davem@davemloft.net>
drivers/net/ethernet/marvell/mvmdio.c