Re: [PATCH v2 net-next 2/2] net: phy: use phy_disable_interrupts in phy_stop

2018-03-06 Thread Andrew Lunn
On Mon, Mar 05, 2018 at 10:34:46PM +0100, Heiner Kallweit wrote: > Now that phy_disable_interrupts() can't take lock phydev->lock any longer, > we can use it to simplify phy_stop(). > > Signed-off-by: Heiner Kallweit Reviewed-by: Andrew Lunn Andrew

[PATCH v2 net-next 2/2] net: phy: use phy_disable_interrupts in phy_stop

2018-03-05 Thread Heiner Kallweit
Now that phy_disable_interrupts() can't take lock phydev->lock any longer, we can use it to simplify phy_stop(). Signed-off-by: Heiner Kallweit --- drivers/net/phy/phy.c | 9 ++--- 1 file changed, 2 insertions(+), 7 deletions(-) diff --git a/drivers/net/phy/phy.c