[Linux-stm32] [PATCH] net: stmmac: platform: Fix MDIO init for platforms without PHY

David Miller davem at davemloft.net
Sat Dec 21 05:29:18 UTC 2019


From: Padmanabhan Rajanbabu <p.rajanbabu at 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 at samsung.com>
> Signed-off-by: Sriram Dash <sriram.dash at samsung.com>
> Signed-off-by: Padmanabhan Rajanbabu <p.rajanbabu at samsung.com>

Applied and queued up for -stable, thanks.



More information about the Linux-stm32 mailing list