]> Git Repo - linux.git/commit
net: mvmdio: defer probe of orion-mdio if a clock is not ready
authorJosua Mayer <[email protected]>
Tue, 9 Jul 2019 13:01:01 +0000 (15:01 +0200)
committerDavid S. Miller <[email protected]>
Tue, 9 Jul 2019 20:03:04 +0000 (13:03 -0700)
commit433a06d7d74e677c40b1148c70c48677ff62fb6b
treebae7cc573147d5e6a2e869eaeeb341c94f932260
parentea664b1bdc19f3884f9d2966b106b3ca8d253426
net: mvmdio: defer probe of orion-mdio if a clock is not ready

Defer probing of the orion-mdio interface when getting a clock returns
EPROBE_DEFER. This avoids locking up the Armada 8k SoC when mdio is used
before all clocks have been enabled.

Signed-off-by: Josua Mayer <[email protected]>
Reviewed-by: Andrew Lunn <[email protected]>
Signed-off-by: David S. Miller <[email protected]>
drivers/net/ethernet/marvell/mvmdio.c
This page took 0.056179 seconds and 4 git commands to generate.