Skip to content

Commit

Permalink
fix fec initialization problems
Browse files Browse the repository at this point in the history
This fixes fec initialization problems observed on the wandboard quad.
Without this fix, the boot process did not work reliably.
Fix proposed by rmk, thanks.
  • Loading branch information
CrawX committed Oct 21, 2014
1 parent 91d5e90 commit 23e2deb
Showing 1 changed file with 2 additions and 0 deletions.
2 changes: 2 additions & 0 deletions drivers/net/ethernet/freescale/fec_main.c
Original file line number Diff line number Diff line change
Expand Up @@ -2704,6 +2704,8 @@ fec_probe(struct platform_device *pdev)
failed_init:
if (fep->reg_phy)
regulator_disable(fep->reg_phy);
if (fep->ptp_clock)
ptp_clock_unregister(fep->ptp_clock);
failed_regulator:
fec_enet_clk_enable(ndev, false);
failed_clk:
Expand Down

0 comments on commit 23e2deb

Please sign in to comment.