Skip to content

Commit

Permalink
---
Browse files Browse the repository at this point in the history
yaml
---
r: 314680
b: refs/heads/master
c: 2ca9b2a
h: refs/heads/master
v: v3
  • Loading branch information
Shawn Guo authored and David S. Miller committed Jun 28, 2012
1 parent ed65172 commit ab3413b
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: d2e553bca89596b7ac35f8abcec9c9b93f772fc2
refs/heads/master: 2ca9b2aa0d5a43e954789e0da675a826b83932b7
4 changes: 2 additions & 2 deletions trunk/drivers/net/ethernet/freescale/fec.c
Original file line number Diff line number Diff line change
Expand Up @@ -1593,8 +1593,6 @@ fec_probe(struct platform_device *pdev)
fep->phy_interface = ret;
}

fec_reset_phy(pdev);

for (i = 0; i < FEC_IRQ_NUM; i++) {
irq = platform_get_irq(pdev, i);
if (irq < 0) {
Expand Down Expand Up @@ -1634,6 +1632,8 @@ fec_probe(struct platform_device *pdev)
clk_prepare_enable(fep->clk_ahb);
clk_prepare_enable(fep->clk_ipg);

fec_reset_phy(pdev);

ret = fec_enet_init(ndev);
if (ret)
goto failed_init;
Expand Down

0 comments on commit ab3413b

Please sign in to comment.