OSDN Git Service

Merge branch 'Armada-8040-SoC-in-orion-mdio-hang'
authorDavid S. Miller <davem@davemloft.net>
Tue, 9 Jul 2019 20:03:04 +0000 (13:03 -0700)
committerDavid S. Miller <davem@davemloft.net>
Tue, 9 Jul 2019 20:03:04 +0000 (13:03 -0700)
Josua Mayer says:

====================
Fix hang of Armada 8040 SoC in orion-mdio

With a modular kernel as configured by Debian a hang was observed with
the Armada 8040 SoC in the Clearfog GT and Macchiatobin boards.

The 8040 SoC actually requires four clocks to be enabled for the mdio
interface to function. All 4 clocks are already specified in
armada-cp110.dtsi. It has however been missed that the orion-mdio driver
only supports enabling up to three clocks.

This patch-set allows the orion-mdio driver to handle four clocks and
adds a warning when more clocks are specified to prevent this particular
oversight in the future.

Changes since v1:
- fixed condition for priting the warning (Andrew Lunn)
- rephrased commit description for deferred probing (Andrew Lunn)
- fixed compiler warnings (kbuild test robot)
====================

Signed-off-by: David S. Miller <davem@davemloft.net>

Trivial merge