Skip to content

Commit

Permalink
---
Browse files Browse the repository at this point in the history
yaml
---
r: 210808
b: refs/heads/master
c: fddd910
h: refs/heads/master
v: v3
  • Loading branch information
Simon Guinot authored and David S. Miller committed Sep 14, 2010
1 parent bf1d083 commit 9be1579
Show file tree
Hide file tree
Showing 2 changed files with 3 additions and 3 deletions.
2 changes: 1 addition & 1 deletion [refs]
Original file line number Diff line number Diff line change
@@ -1,2 +1,2 @@
---
refs/heads/master: ef885afbf8a37689afc1d9d545e2f3e7a8276c17
refs/heads/master: fddd91016d16277a32727ad272cf2edd3d309c90
4 changes: 2 additions & 2 deletions trunk/drivers/net/phy/mdio_bus.c
Original file line number Diff line number Diff line change
Expand Up @@ -308,7 +308,7 @@ static int mdio_bus_suspend(struct device *dev)
* may call phy routines that try to grab the same lock, and that may
* lead to a deadlock.
*/
if (phydev->attached_dev)
if (phydev->attached_dev && phydev->adjust_link)
phy_stop_machine(phydev);

if (!mdio_bus_phy_may_suspend(phydev))
Expand All @@ -331,7 +331,7 @@ static int mdio_bus_resume(struct device *dev)
return ret;

no_resume:
if (phydev->attached_dev)
if (phydev->attached_dev && phydev->adjust_link)
phy_start_machine(phydev, NULL);

return 0;
Expand Down

0 comments on commit 9be1579

Please sign in to comment.