diff options
Diffstat (limited to 'drivers/net/phy/phy_device.c')
-rw-r--r-- | drivers/net/phy/phy_device.c | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/drivers/net/phy/phy_device.c b/drivers/net/phy/phy_device.c index 49328e050505..c0461217b108 100644 --- a/drivers/net/phy/phy_device.c +++ b/drivers/net/phy/phy_device.c | |||
@@ -670,9 +670,9 @@ static int phy_remove(struct device *dev) | |||
670 | 670 | ||
671 | phydev = to_phy_device(dev); | 671 | phydev = to_phy_device(dev); |
672 | 672 | ||
673 | spin_lock(&phydev->lock); | 673 | spin_lock_bh(&phydev->lock); |
674 | phydev->state = PHY_DOWN; | 674 | phydev->state = PHY_DOWN; |
675 | spin_unlock(&phydev->lock); | 675 | spin_unlock_bh(&phydev->lock); |
676 | 676 | ||
677 | if (phydev->drv->remove) | 677 | if (phydev->drv->remove) |
678 | phydev->drv->remove(phydev); | 678 | phydev->drv->remove(phydev); |