diff options
Diffstat (limited to 'drivers/net/phy/phy.c')
-rw-r--r-- | drivers/net/phy/phy.c | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/drivers/net/phy/phy.c b/drivers/net/phy/phy.c index e323efd4ed18..0cc4369cacba 100644 --- a/drivers/net/phy/phy.c +++ b/drivers/net/phy/phy.c | |||
@@ -755,7 +755,7 @@ out_unlock: | |||
755 | */ | 755 | */ |
756 | void phy_start(struct phy_device *phydev) | 756 | void phy_start(struct phy_device *phydev) |
757 | { | 757 | { |
758 | spin_lock(&phydev->lock); | 758 | spin_lock_bh(&phydev->lock); |
759 | 759 | ||
760 | switch (phydev->state) { | 760 | switch (phydev->state) { |
761 | case PHY_STARTING: | 761 | case PHY_STARTING: |
@@ -769,7 +769,7 @@ void phy_start(struct phy_device *phydev) | |||
769 | default: | 769 | default: |
770 | break; | 770 | break; |
771 | } | 771 | } |
772 | spin_unlock(&phydev->lock); | 772 | spin_unlock_bh(&phydev->lock); |
773 | } | 773 | } |
774 | EXPORT_SYMBOL(phy_stop); | 774 | EXPORT_SYMBOL(phy_stop); |
775 | EXPORT_SYMBOL(phy_start); | 775 | EXPORT_SYMBOL(phy_start); |