Skip to content

Commit

Permalink
---
Browse files Browse the repository at this point in the history
yaml
---
r: 316906
b: refs/heads/master
c: 2b97fb5
h: refs/heads/master
v: v3
  • Loading branch information
Fabio Estevam authored and Felipe Balbi committed Jun 12, 2012
1 parent bd5e613 commit 756631c
Show file tree
Hide file tree
Showing 2 changed files with 4 additions and 4 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: 8194fea0fc308a7cdfc9333584d69cb5d428d47f
refs/heads/master: 2b97fb5a605635684f757080cdc405d8173838d5
6 changes: 3 additions & 3 deletions trunk/drivers/usb/host/imx21-hcd.c
Original file line number Diff line number Diff line change
Expand Up @@ -1811,7 +1811,7 @@ static int imx21_remove(struct platform_device *pdev)
usb_remove_hcd(hcd);

if (res != NULL) {
clk_disable(imx21->clk);
clk_disable_unprepare(imx21->clk);
clk_put(imx21->clk);
iounmap(imx21->regs);
release_mem_region(res->start, resource_size(res));
Expand Down Expand Up @@ -1884,7 +1884,7 @@ static int imx21_probe(struct platform_device *pdev)
ret = clk_set_rate(imx21->clk, clk_round_rate(imx21->clk, 48000000));
if (ret)
goto failed_clock_set;
ret = clk_enable(imx21->clk);
ret = clk_prepare_enable(imx21->clk);
if (ret)
goto failed_clock_enable;

Expand All @@ -1900,7 +1900,7 @@ static int imx21_probe(struct platform_device *pdev)
return 0;

failed_add_hcd:
clk_disable(imx21->clk);
clk_disable_unprepare(imx21->clk);
failed_clock_enable:
failed_clock_set:
clk_put(imx21->clk);
Expand Down

0 comments on commit 756631c

Please sign in to comment.