mmc: core: Fix hangs related to insert/remove of cards
[~shefty/rdma-dev.git] / drivers / mmc / core / mmc.c
index f73fceea5dbd9611613162f36871101d5ec14ad5..3b7c069a4ea6e2e8be6edbacc8f15f0a1a76c26d 100644 (file)
@@ -892,6 +892,7 @@ static void mmc_detect(struct mmc_host *host)
 
                mmc_claim_host(host);
                mmc_detach_bus(host);
+               mmc_power_off(host);
                mmc_release_host(host);
        }
 }