diff options
author | Denis Karpov <ext-denis.2.karpov@nokia.com> | 2009-09-22 16:44:36 -0700 |
---|---|---|
committer | Linus Torvalds <torvalds@linux-foundation.org> | 2009-09-23 07:39:34 -0700 |
commit | 53509f0fe28e049e772897aa8fa1f5183b6823a2 (patch) | |
tree | 5670751699ec521bb69b4689a34a46a57c062097 /drivers/mmc/core | |
parent | b1ebe38456f7fe61a88af2844361e763ac6ea5ae (diff) | |
download | kernel_samsung_espresso10-53509f0fe28e049e772897aa8fa1f5183b6823a2.zip kernel_samsung_espresso10-53509f0fe28e049e772897aa8fa1f5183b6823a2.tar.gz kernel_samsung_espresso10-53509f0fe28e049e772897aa8fa1f5183b6823a2.tar.bz2 |
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/core')
-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 828e60e..0842f68 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) mmc_claim_host(host); mmc_detach_bus(host); mmc_release_host(host); + mmc_bus_put(host); + return; } mmc_bus_put(host); |