Re: [PATCH] net: stmmac: platform: Fix MDIO init for platforms without PHY

From: David Miller
Date: Sat Dec 21 2019 - 00:29:26 EST


From: Padmanabhan Rajanbabu <p.rajanbabu@xxxxxxxxxxx>
Date: Thu, 19 Dec 2019 15:47:01 +0530

> 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: 7437127 ("net: stmmac: Convert to phylink and remove phylib logic")
> Acked-by: Jayati Sahu <jayati.sahu@xxxxxxxxxxx>
> Signed-off-by: Sriram Dash <sriram.dash@xxxxxxxxxxx>
> Signed-off-by: Padmanabhan Rajanbabu <p.rajanbabu@xxxxxxxxxxx>

Applied and queued up for -stable, thanks.