Re: [PATCH net-next 2/2] net: phy: call state machine synchronously in phy_stop

2018-09-19 Thread Florian Fainelli
On 09/18/2018 12:56 PM, Heiner Kallweit wrote: > phy_stop() may be called e.g. when suspending, therefore all needed > actions should be performed synchronously. Therefore add a synchronous > call to the state machine. > > Signed-off-by: Heiner Kallweit Reviewed-by: Florian Fainelli Yes! -- F

Re: [PATCH net-next 2/2] net: phy: call state machine synchronously in phy_stop

2018-09-19 Thread Geert Uytterhoeven
On Tue, Sep 18, 2018 at 9:56 PM Heiner Kallweit wrote: > phy_stop() may be called e.g. when suspending, therefore all needed > actions should be performed synchronously. Therefore add a synchronous > call to the state machine. > > Signed-off-by: Heiner Kallweit Survived 100 suspend/resume cycles

[PATCH net-next 2/2] net: phy: call state machine synchronously in phy_stop

2018-09-18 Thread Heiner Kallweit
phy_stop() may be called e.g. when suspending, therefore all needed actions should be performed synchronously. Therefore add a synchronous call to the state machine. Signed-off-by: Heiner Kallweit --- drivers/net/phy/phy.c | 2 ++ 1 file changed, 2 insertions(+) diff --git a/drivers/net/phy/phy