Skip to content

Commit

Permalink
---
Browse files Browse the repository at this point in the history
yaml
---
r: 201069
b: refs/heads/master
c: 9d51a6b
h: refs/heads/master
i:
  201067: 32d9d78
v: v3
  • Loading branch information
Marek Szyprowski authored and Linus Torvalds committed Jul 20, 2010
1 parent 8e6cdb4 commit f86a3ae
Show file tree
Hide file tree
Showing 2 changed files with 21 additions and 1 deletion.
2 changes: 1 addition & 1 deletion [refs]
Original file line number Diff line number Diff line change
@@ -1,2 +1,2 @@
---
refs/heads/master: d45840d9f04be4d8c0288066f37bca3a448f7471
refs/heads/master: 9d51a6b2487724e8713cd2794cf09ffeee5f6932
20 changes: 20 additions & 0 deletions trunk/drivers/mmc/host/sdhci-s3c.c
Original file line number Diff line number Diff line change
Expand Up @@ -365,6 +365,26 @@ static int __devinit sdhci_s3c_probe(struct platform_device *pdev)

static int __devexit sdhci_s3c_remove(struct platform_device *pdev)
{
struct sdhci_host *host = platform_get_drvdata(pdev);
struct sdhci_s3c *sc = sdhci_priv(host);
int ptr;

sdhci_remove_host(host, 1);

for (ptr = 0; ptr < 3; ptr++) {
clk_disable(sc->clk_bus[ptr]);
clk_put(sc->clk_bus[ptr]);
}
clk_disable(sc->clk_io);
clk_put(sc->clk_io);

iounmap(host->ioaddr);
release_resource(sc->ioarea);
kfree(sc->ioarea);

sdhci_free_host(host);
platform_set_drvdata(pdev, NULL);

return 0;
}

Expand Down

0 comments on commit f86a3ae

Please sign in to comment.