Skip to content
Commit d3e014ec authored by Padmanabhan Rajanbabu's avatar Padmanabhan Rajanbabu Committed by David S. Miller
Browse files

net: stmmac: platform: Fix MDIO init for platforms without PHY



The current implementation of "stmmac_dt_phy" function initializes
the MDIO platform bus data, even in the absence of PHY. This fix
will skip MDIO initialization if there is no PHY present.

Fixes: 74371272 ("net: stmmac: Convert to phylink and remove phylib logic")
Acked-by: default avatarJayati Sahu <jayati.sahu@samsung.com>
Signed-off-by: default avatarSriram Dash <sriram.dash@samsung.com>
Signed-off-by: default avatarPadmanabhan Rajanbabu <p.rajanbabu@samsung.com>
Signed-off-by: default avatarDavid S. Miller <davem@davemloft.net>
parent af1c0e4e
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