projects
/
~shefty
/
rdma-dev.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
|
inline
| side by side
mmc: core: Fix hangs related to insert/remove of cards
[~shefty/rdma-dev.git]
/
drivers
/
mmc
/
core
/
sd.c
diff --git
a/drivers/mmc/core/sd.c
b/drivers/mmc/core/sd.c
index 0370e03e314253f027a36aa994591ea2817f0826..4c281a4bf0589d6f8393f16e38e341bc31ffd45d 100644
(file)
--- a/
drivers/mmc/core/sd.c
+++ b/
drivers/mmc/core/sd.c
@@
-1043,6
+1043,7
@@
static void mmc_sd_detect(struct mmc_host *host)
mmc_claim_host(host);
mmc_detach_bus(host);
mmc_claim_host(host);
mmc_detach_bus(host);
+ mmc_power_off(host);
mmc_release_host(host);
}
}
mmc_release_host(host);
}
}