Skip to content

Commit

Permalink
---
Browse files Browse the repository at this point in the history
yaml
---
r: 313572
b: refs/heads/master
c: 1e674bc
h: refs/heads/master
v: v3
  • Loading branch information
Prashant Gaikwad authored and Stephen Warren committed Jun 11, 2012
1 parent 207dc5f commit bc01dce
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: 6f786aad108ba5479d93410fb47e0f51a79f34b1
refs/heads/master: 1e674bc6689e9aca5bd4355d1f87093636ed1c02
6 changes: 3 additions & 3 deletions trunk/drivers/mmc/host/sdhci-tegra.c
Original file line number Diff line number Diff line change
Expand Up @@ -334,7 +334,7 @@ static int __devinit sdhci_tegra_probe(struct platform_device *pdev)
rc = PTR_ERR(clk);
goto err_clk_get;
}
clk_enable(clk);
clk_prepare_enable(clk);
pltfm_host->clk = clk;

host->mmc->pm_caps = plat->pm_flags;
Expand All @@ -349,7 +349,7 @@ static int __devinit sdhci_tegra_probe(struct platform_device *pdev)
return 0;

err_add_host:
clk_disable(pltfm_host->clk);
clk_disable_unprepare(pltfm_host->clk);
clk_put(pltfm_host->clk);
err_clk_get:
if (gpio_is_valid(plat->wp_gpio))
Expand Down Expand Up @@ -390,7 +390,7 @@ static int __devexit sdhci_tegra_remove(struct platform_device *pdev)
if (gpio_is_valid(plat->power_gpio))
gpio_free(plat->power_gpio);

clk_disable(pltfm_host->clk);
clk_disable_unprepare(pltfm_host->clk);
clk_put(pltfm_host->clk);

sdhci_pltfm_free(pdev);
Expand Down

0 comments on commit bc01dce

Please sign in to comment.