Re: [PATCH RFC 5/7] net: phy: make phy_stop synchronous

2018-03-14 Thread Florian Fainelli
On 03/14/2018 01:16 PM, Heiner Kallweit wrote: > Currently phy_stop() just sets the state to PHY_HALTED and relies on the > state machine to do the remaining work. It can take up to 1s until the > state machine runs again what causes issues in situations where e.g. > driver / device is brought

[PATCH RFC 5/7] net: phy: make phy_stop synchronous

2018-03-14 Thread Heiner Kallweit
Currently phy_stop() just sets the state to PHY_HALTED and relies on the state machine to do the remaining work. It can take up to 1s until the state machine runs again what causes issues in situations where e.g. driver / device is brought down directly after executing phy_stop(). Fix this by