On Wed, Sep 16, 2020 at 08:43:10PM -0700, Florian Fainelli wrote: > When phy_is_started() was added to catch incorrect PHY states, > phy_stop() would not be qualified against PHY_DOWN. It is possible to > reach that state when the PHY driver has been unbound and the network > device is then brought down. > > Fixes: 2b3e88ea6528 ("net: phy: improve phy state checking") > Signed-off-by: Florian Fainelli <f.faine...@gmail.com>
Reviewed-by: Andrew Lunn <and...@lunn.ch> Andrew