Skip to content

Commit

Permalink
---
Browse files Browse the repository at this point in the history
yaml
---
r: 46057
b: refs/heads/master
c: 24d8f6a
h: refs/heads/master
i:
  46055: ec70903
v: v3
  • Loading branch information
Peter Korsgaard authored and Linus Torvalds committed Feb 3, 2007
1 parent eb1a5f1 commit 4118afd
Show file tree
Hide file tree
Showing 2 changed files with 4 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: 29a002776ba5ef170446910b1f93c480cdd43706
refs/heads/master: 24d8f6aded45aca87dec6d9c037b75b189e3d731
5 changes: 3 additions & 2 deletions trunk/drivers/net/smc911x.c
Original file line number Diff line number Diff line change
Expand Up @@ -968,11 +968,11 @@ static void smc911x_phy_configure(struct work_struct *work)
* We should not be called if phy_type is zero.
*/
if (lp->phy_type == 0)
goto smc911x_phy_configure_exit;
goto smc911x_phy_configure_exit_nolock;

if (smc911x_phy_reset(dev, phyaddr)) {
printk("%s: PHY reset timed out\n", dev->name);
goto smc911x_phy_configure_exit;
goto smc911x_phy_configure_exit_nolock;
}
spin_lock_irqsave(&lp->lock, flags);

Expand Down Expand Up @@ -1041,6 +1041,7 @@ static void smc911x_phy_configure(struct work_struct *work)

smc911x_phy_configure_exit:
spin_unlock_irqrestore(&lp->lock, flags);
smc911x_phy_configure_exit_nolock:
lp->work_pending = 0;
}

Expand Down

0 comments on commit 4118afd

Please sign in to comment.