Skip to content

Commit

Permalink
---
Browse files Browse the repository at this point in the history
yaml
---
r: 352129
b: refs/heads/master
c: 365cc17
h: refs/heads/master
i:
  352127: 303694c
v: v3
  • Loading branch information
Frank Li authored and David S. Miller committed Feb 8, 2013
1 parent 97a359c commit 1752c69
Show file tree
Hide file tree
Showing 2 changed files with 4 additions and 5 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: 41b749201bbe54ce807c4287b4942e85cb0ca466
refs/heads/master: 365cc174648cd7e9b11e522c3d5b07ccf3c60d99
7 changes: 3 additions & 4 deletions trunk/drivers/net/ethernet/freescale/fec.c
Original file line number Diff line number Diff line change
Expand Up @@ -1609,7 +1609,6 @@ static int fec_enet_init(struct net_device *ndev)
}

spin_lock_init(&fep->hw_lock);
spin_lock_init(&fep->tmreg_lock);

fep->netdev = ndev;

Expand Down Expand Up @@ -1841,6 +1840,9 @@ fec_probe(struct platform_device *pdev)

fec_reset_phy(pdev);

if (fep->bufdesc_ex)
fec_ptp_init(ndev, pdev);

ret = fec_enet_init(ndev);
if (ret)
goto failed_init;
Expand All @@ -1856,9 +1858,6 @@ fec_probe(struct platform_device *pdev)
if (ret)
goto failed_register;

if (fep->bufdesc_ex)
fec_ptp_init(ndev, pdev);

return 0;

failed_register:
Expand Down

0 comments on commit 1752c69

Please sign in to comment.