Skip to content

Commit

Permalink
---
Browse files Browse the repository at this point in the history
yaml
---
r: 176394
b: refs/heads/master
c: e799acb
h: refs/heads/master
v: v3
  • Loading branch information
Ladislav Michl authored and Linus Torvalds committed Dec 15, 2009
1 parent df704f5 commit 5cf2ed6
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: 7e30b8decbb1a5853522936eb613803a480312c3
refs/heads/master: e799acb2ed2f23e88b9ccb89d84fcf206b566d23
10 changes: 5 additions & 5 deletions trunk/drivers/mmc/host/omap.c
Original file line number Diff line number Diff line change
Expand Up @@ -1459,8 +1459,10 @@ static int __init mmc_omap_probe(struct platform_device *pdev)
goto err_ioremap;

host->iclk = clk_get(&pdev->dev, "ick");
if (IS_ERR(host->iclk))
if (IS_ERR(host->iclk)) {
ret = PTR_ERR(host->iclk);
goto err_free_mmc_host;
}
clk_enable(host->iclk);

host->fclk = clk_get(&pdev->dev, "fck");
Expand Down Expand Up @@ -1500,10 +1502,8 @@ static int __init mmc_omap_probe(struct platform_device *pdev)
err_free_fclk:
clk_put(host->fclk);
err_free_iclk:
if (host->iclk != NULL) {
clk_disable(host->iclk);
clk_put(host->iclk);
}
clk_disable(host->iclk);
clk_put(host->iclk);
err_free_mmc_host:
iounmap(host->virt_base);
err_ioremap:
Expand Down

0 comments on commit 5cf2ed6

Please sign in to comment.