From: Andrew Lunn <and...@lunn.ch> Date: Tue, 27 Feb 2018 01:56:06 +0100
> commit f5e64032a799 ("net: phy: fix resume handling") changes the > locking semantics for phy_resume() such that the caller now needs to > hold the phy mutex. Not all call sites were adopted to this new > semantic, resulting in warnings from the added > WARN_ON(!mutex_is_locked(&phydev->lock)). Rather than change the > semantics, add a __phy_resume() and restore the old behavior of > phy_resume(). > > Reported-by: Heiner Kallweit <hkallwe...@gmail.com> > Fixes: f5e64032a799 ("net: phy: fix resume handling") > Signed-off-by: Andrew Lunn <and...@lunn.ch> > --- > v2: Fix type in phy_resume() calling itself Applied and queued up for -stable, thanks Andrew.