Subject: Re: [PATCH 0/2] net: phy: relax error checking when creating sysfs link netdev->phydev

From: Andrew Lunn <[email-masked]>
Date: Fri, 16 Mar 2018 20:54:03 +0100

> The phydrv->mdiodrv.flags can be accessible only after call to of_phy_connect()/phy_connect(), 

You need to use a function like of_phy_find_device() to get the
phydev, set the flag, and then call phy_connect_direct(). 

	Andrew