diff options
author | Andrew Lunn <andrew@lunn.ch> | 2012-07-27 10:45:25 -0400 |
---|---|---|
committer | Andrew Lunn <andrew@lunn.ch> | 2012-07-27 10:45:25 -0400 |
commit | 89fb2d77d5daa821e3868ea59963f28249974840 (patch) | |
tree | 6cc80209a208133000c203cf9a9f61dd42fd53a9 /drivers/mmc | |
parent | 4297103560b4c5aba904e4711e982a039619f1f6 (diff) | |
parent | 778435045a416da71f1757a80e37200a5ea5af70 (diff) |
Merge branch 'v3.5-rc7-fixes' into v3.5-rc7-dt-v3
Merge in branch already pulled. Fulfils dependancies needed by
this patchset.
Diffstat (limited to 'drivers/mmc')
-rw-r--r-- | drivers/mmc/host/mvsdio.c | 4 |
1 files changed, 4 insertions, 0 deletions
diff --git a/drivers/mmc/host/mvsdio.c b/drivers/mmc/host/mvsdio.c index 3b9136c1a475..a61cb5fca22d 100644 --- a/drivers/mmc/host/mvsdio.c +++ b/drivers/mmc/host/mvsdio.c | |||
@@ -839,6 +839,10 @@ out: | |||
839 | if (r) | 839 | if (r) |
840 | release_resource(r); | 840 | release_resource(r); |
841 | if (mmc) | 841 | if (mmc) |
842 | if (!IS_ERR_OR_NULL(host->clk)) { | ||
843 | clk_disable_unprepare(host->clk); | ||
844 | clk_put(host->clk); | ||
845 | } | ||
842 | mmc_free_host(mmc); | 846 | mmc_free_host(mmc); |
843 | 847 | ||
844 | return ret; | 848 | return ret; |