mmc: power off once at removal
PATCH 49/232 mmc: power off once at removal
From: Denis Karpov <[email protected]>
Fix MMC host stop sequence: power off once.
Signed-off-by Denis Karpov <[email protected]>
Signed-off-by Adrian Hunter <[email protected]>
Acked-by Matt Fleming <[email protected]>
Cc Ian Molton <[email protected]>
Cc "Roberto A. Foglietta" <[email protected]>
Cc Jarkko Lavinen <[email protected]>
Cc Denis Karpov <[email protected]>
Cc Pierre Ossman <[email protected]>
Cc Philip Langdale <[email protected]>
Cc "Madhusudhan" <[email protected]>
Cc <[email protected]>
Signed-off-by Andrew Morton <[email protected]>
---
drivers/mmc/core/core.c | 2 ++ 1 file changed, 2 insertions(+)
drivers/mmc/core/core.c renamed from drivers/mmc/core/core.c~mmc-power-off-once-at-removal +2 -0
@@ -1143,6 +1143,8 @@ void mmc_stop_host(struct mmc_host *hostmmc_claim_host (host);mmc_detach_bus (host);mmc_release_host (host); +mmc_bus_put (host); +return ; }mmc_bus_put (host);
_