Commits
Alex Marginean committed 209b01104be
drivers: net: phy: don't crash in phy_read/_write_mmd without a PHY driver The APIs can be used by Ethernet drivers to configure internal PHYs without actually loading a PHY driver. Check that drv is not NULL before reading from it. Signed-off-by: Alex Marginean <alexandru.marginean@nxp.com>