From: Padmanabhan Rajanbabu p.rajanbabu@samsung.com 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@samsung.com Signed-off-by: Sriram Dash sriram.dash@samsung.com Signed-off-by: Padmanabhan Rajanbabu p.rajanbabu@samsung.com
Applied and queued up for -stable, thanks.