Skip to content

Commit

Permalink
---
Browse files Browse the repository at this point in the history
yaml
---
r: 354591
b: refs/heads/master
c: 99d17cf
h: refs/heads/master
i:
  354589: b738de7
  354587: 990a828
  354583: 5b9044e
  354575: ac9e4ed
  354559: 9c74971
v: v3
  • Loading branch information
Fabio Baltieri authored and Felipe Balbi committed Jan 17, 2013
1 parent 2d3237b commit 4e118d1
Show file tree
Hide file tree
Showing 2 changed files with 6 additions and 6 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: f27862819350d2c1a679b690b5b3559e632e81eb
refs/heads/master: 99d17cfa3bbc6f4edb175f819af59c6b9e245e82
10 changes: 5 additions & 5 deletions trunk/drivers/usb/musb/ux500.c
Original file line number Diff line number Diff line change
Expand Up @@ -108,7 +108,7 @@ static int ux500_probe(struct platform_device *pdev)
goto err3;
}

ret = clk_enable(clk);
ret = clk_prepare_enable(clk);
if (ret) {
dev_err(&pdev->dev, "failed to enable clock\n");
goto err4;
Expand Down Expand Up @@ -148,7 +148,7 @@ static int ux500_probe(struct platform_device *pdev)
return 0;

err5:
clk_disable(clk);
clk_disable_unprepare(clk);

err4:
clk_put(clk);
Expand All @@ -168,7 +168,7 @@ static int ux500_remove(struct platform_device *pdev)
struct ux500_glue *glue = platform_get_drvdata(pdev);

platform_device_unregister(glue->musb);
clk_disable(glue->clk);
clk_disable_unprepare(glue->clk);
clk_put(glue->clk);
kfree(glue);

Expand All @@ -182,7 +182,7 @@ static int ux500_suspend(struct device *dev)
struct musb *musb = glue_to_musb(glue);

usb_phy_set_suspend(musb->xceiv, 1);
clk_disable(glue->clk);
clk_disable_unprepare(glue->clk);

return 0;
}
Expand All @@ -193,7 +193,7 @@ static int ux500_resume(struct device *dev)
struct musb *musb = glue_to_musb(glue);
int ret;

ret = clk_enable(glue->clk);
ret = clk_prepare_enable(glue->clk);
if (ret) {
dev_err(dev, "failed to enable clock\n");
return ret;
Expand Down

0 comments on commit 4e118d1

Please sign in to comment.