Skip to content

Commit

Permalink
Merge pull request #21 from CrawX/fixfec
Browse files Browse the repository at this point in the history
fix fec initialization problems
  • Loading branch information
linux4kix committed Oct 21, 2014
2 parents 91d5e90 + 23e2deb commit b839103
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 b839103

Please sign in to comment.