diff options
author | Denis Karpov <ext-denis.2.karpov@nokia.com> | 2009-09-22 19:44:36 -0400 |
---|---|---|
committer | Linus Torvalds <torvalds@linux-foundation.org> | 2009-09-23 10:39:34 -0400 |
commit | 53509f0fe28e049e772897aa8fa1f5183b6823a2 (patch) | |
tree | 5670751699ec521bb69b4689a34a46a57c062097 /drivers/mmc | |
parent | b1ebe38456f7fe61a88af2844361e763ac6ea5ae (diff) |
mmc: power off once at removal
Fix MMC host stop sequence: power off once.
Signed-off-by: Denis Karpov <ext-denis.2.karpov@nokia.com>
Signed-off-by: Adrian Hunter <adrian.hunter@nokia.com>
Acked-by: Matt Fleming <matt@console-pimps.org>
Cc: Ian Molton <ian@mnementh.co.uk>
Cc: "Roberto A. Foglietta" <roberto.foglietta@gmail.com>
Cc: Jarkko Lavinen <jarkko.lavinen@nokia.com>
Cc: Denis Karpov <ext-denis.2.karpov@nokia.com>
Cc: Pierre Ossman <pierre@ossman.eu>
Cc: Philip Langdale <philipl@overt.org>
Cc: "Madhusudhan" <madhu.cr@ti.com>
Cc: <linux-mmc@vger.kernel.org>
Signed-off-by: Andrew Morton <akpm@linux-foundation.org>
Signed-off-by: Linus Torvalds <torvalds@linux-foundation.org>
Diffstat (limited to 'drivers/mmc')
-rw-r--r-- | drivers/mmc/core/core.c | 2 |
1 files changed, 2 insertions, 0 deletions
diff --git a/drivers/mmc/core/core.c b/drivers/mmc/core/core.c index 828e60ea528c..0842f6829250 100644 --- a/drivers/mmc/core/core.c +++ b/drivers/mmc/core/core.c | |||
@@ -1143,6 +1143,8 @@ void mmc_stop_host(struct mmc_host *host) | |||
1143 | mmc_claim_host(host); | 1143 | mmc_claim_host(host); |
1144 | mmc_detach_bus(host); | 1144 | mmc_detach_bus(host); |
1145 | mmc_release_host(host); | 1145 | mmc_release_host(host); |
1146 | mmc_bus_put(host); | ||
1147 | return; | ||
1146 | } | 1148 | } |
1147 | mmc_bus_put(host); | 1149 | mmc_bus_put(host); |
1148 | 1150 | ||