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(+) diff -puN drivers/mmc/core/core.c~mmc-power-off-once-at-removal drivers/mmc/core/core.c --- a/drivers/mmc/core/core.c~mmc-power-off-once-at-removal +++ a/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); _ -- To unsubscribe from this list: send the line "unsubscribe linux-mmc" in the body of a message to [email protected] More majordomo info at http://vger.kernel.org/majordomo-info.html
